58 ACL acl{UserRole::None, UserRole::None};
66 Stat(
char* namebuf, uint16_t bufsize) :
name(namebuf, bufsize)
116 *
static_cast<Stat*
>(
this) = rhs;
uint32_t file_size_t
Definition: Components/IFS/src/include/IFS/Types.h:50
Installable File System base class.
Definition: IFileSystem.h:100
Provides formatted output to stream.
Definition: Print.h:37
IFS::Directory Directory
Definition: Core/FileSystem.h:33
Definition: DirectoryTemplate.h:37
uint32_t FileID
File identifier.
Definition: Stat.h:47
int16_t FileHandle
File handle.
Definition: Stat.h:40
A compression descriptor.
Definition: Compression.h:38
defines a 'safe' name buffer
Definition: NameBuffer.h:44
int copy(const char *src, uint16_t srclen)
copies text from a source buffer into a name buffer
Definition: NameBuffer.h:95
version of Stat with integrated name buffer
Definition: Stat.h:103
NameStat & operator=(const Stat &rhs)
Definition: Stat.h:114
NameStat()
Definition: Stat.h:105
NameStat(const Stat &other)
Definition: Stat.h:109
File Status structure.
Definition: Stat.h:52
bool isDir() const
Is this a directory (or mountpoint) ?
Definition: Stat.h:91
Stat(char *namebuf, uint16_t bufsize)
Definition: Stat.h:66
Stat & operator=(const Stat &rhs)
assign content from another Stat structure
Definition: Stat.h:75
ACL acl
Access Control.
Definition: Stat.h:58
TimeStamp mtime
File modification time.
Definition: Stat.h:57
FileID id
Internal file identifier.
Definition: Stat.h:56
IFileSystem * fs
The filing system owning this file.
Definition: Stat.h:53
NameBuffer name
Name of file.
Definition: Stat.h:54
FileAttributes attr
Definition: Stat.h:59
Compression compression
Definition: Stat.h:60
Stat()
Definition: Stat.h:62
file_size_t size
Size of file in bytes.
Definition: Stat.h:55
size_t printTo(Print &p) const
Manage IFS timestamps stored as an unsigned 32-bit value.
Definition: TimeStamp.h:37