57 ACL acl{UserRole::None, UserRole::None};
89 return attr[FileAttribute::Directory];
110 *
static_cast<Stat*
>(
this) = rhs;
version of Stat with integrated name buffer
Definition: Stat.h:97
NameStat & operator=(const Stat &rhs)
Definition: Stat.h:108
Installable File System base class.
Definition: IFileSystem.h:95
FileAttributes attr
Definition: Stat.h:58
Compression compression
Definition: Stat.h:59
uint32_t size
Size of file in bytes.
Definition: Stat.h:54
int copy(const char *src, uint16_t srclen)
copies text from a source buffer into a name buffer
Definition: NameBuffer.h:95
Stat(char *namebuf, uint16_t bufsize)
Definition: Stat.h:65
FileID id
Internal file identifier.
Definition: Stat.h:55
ACL acl
Access Control.
Definition: Stat.h:57
int16_t FileHandle
File handle.
Definition: Stat.h:39
Definition: DirectoryTemplate.h:36
Stat()
Definition: Stat.h:61
Manage IFS timestamps stored as an unsigned 32-bit value.
Definition: TimeStamp.h:35
File Status structure.
Definition: Stat.h:51
uint32_t FileID
File identifier.
Definition: Stat.h:46
NameStat()
Definition: Stat.h:99
IFileSystem * fs
The filing system owning this file.
Definition: Stat.h:52
Stat & operator=(const Stat &rhs)
assign content from another Stat structure
Definition: Stat.h:74
TimeStamp mtime
File modification time.
Definition: Stat.h:56
bool isDir() const
Definition: Stat.h:87
defines a 'safe' name buffer
Definition: NameBuffer.h:44
NameStat(const Stat &other)
Definition: Stat.h:103
NameBuffer name
Name of file.
Definition: Stat.h:53