IFS::Stat Struct Reference
File Status structure. More...
#include <Stat.h>
Inheritance diagram for IFS::Stat:
Collaboration diagram for IFS::Stat:
Public Member Functions | |
Stat () | |
Stat (char *namebuf, uint16_t bufsize) | |
Stat & | operator= (const Stat &rhs) |
assign content from another Stat structure More... | |
bool | isDir () const |
Is this a directory (or mountpoint) ? More... | |
size_t | printTo (Print &p) const |
Public Attributes | |
IFileSystem * | fs {nullptr} |
The filing system owning this file. More... | |
NameBuffer | name |
Name of file. More... | |
file_size_t | size {0} |
Size of file in bytes. More... | |
FileID | id {0} |
Internal file identifier. More... | |
TimeStamp | mtime {} |
File modification time. More... | |
ACL | acl {UserRole::None, UserRole::None} |
Access Control. More... | |
FileAttributes | attr {} |
Compression | compression {} |
Detailed Description
File Status structure.
Constructor & Destructor Documentation
◆ Stat() [1/2]
|
inline |
◆ Stat() [2/2]
|
inline |
Member Function Documentation
◆ isDir()
|
inline |
Is this a directory (or mountpoint) ?
◆ operator=()
assign content from another Stat structure
- Note
- All fields are copied as for a normal assignment, except for 'name', where rhs.name contents are copied into our name buffer.
◆ printTo()
size_t IFS::Stat::printTo | ( | Print & | p | ) | const |
Member Data Documentation
◆ acl
ACL IFS::Stat::acl {UserRole::None, UserRole::None} |
Access Control.
◆ attr
FileAttributes IFS::Stat::attr {} |
◆ compression
Compression IFS::Stat::compression {} |
◆ fs
IFileSystem* IFS::Stat::fs {nullptr} |
The filing system owning this file.
◆ id
FileID IFS::Stat::id {0} |
Internal file identifier.
◆ mtime
◆ name
NameBuffer IFS::Stat::name |
Name of file.
◆ size
file_size_t IFS::Stat::size {0} |
Size of file in bytes.
The documentation for this struct was generated from the following file: