NAME
Sys::Export::VFAT::File - Represents a file in VFAT, including packed encodings of directories
DESCRIPTION
Represents file (or directory) data to be encoded into the VFAT image. This object functions sort of like an 'inode', storing the attributes of the file, even though VFAT actually stores the file attributes at the directory entry level. This facilitates fun hacks like hard-linking files in a VFAT filesystem even though VFAT doesn't permit that.
CONSTRUCTORS
new
$file= Sys::Export::VFAT::File->new(%attributes);
ATTRIBUTES
name
Unicode full path of file, for debugging
size
Size, in bytes
data
A reference to literal data of this file, which could be a scalar ref or LazyFileData object.
flags
Default directory listing flags
btime
Default creation ('born') unix epoch time
mtime
Default modification unix epoch time
atime
Default last-access unix epoch time
align
Request file be allocated on a power-of-two boundary from the start of the device.
device_offset
If initially set, request that file be placed at an absolute offset from start of the device. If it can't be honored, encoding of the filesystem will fail. After encoding, this will be set to the location chosen for the file.
cluster
After encoding, this will be set to the cluster ID of the file.
is_dir
True if "flags" indicate that this is a directory.
VERSION
version 0.005
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.