A structure to describe file stats queried through a file descriptor. More...
#include <File.h>
Public Attributes | ||
| FileDescriptorEntryType | entryType = FileDescriptorEntryType::Unknown | |
| Type of entry associated with descriptor. | ||
| size_t | fileSize = 0 | |
| Size of the file in bytes. | ||
| size_t | hardLinkCount = 0 | |
| Number of hard links to the entry. | ||
| TimeMs | creationTime | |
| Time when file was created when available. | ||
| TimeMs | accessedTime | |
| Time when file was last accessed when available. | ||
| TimeMs | modifiedTime | |
| Time when file was last modified. | ||
| struct { | ||
| uint32_t mode = 0 | ||
| POSIX st_mode. More... | ||
| uint32_t uid = 0 | ||
| POSIX st_uid. More... | ||
| uint32_t gid = 0 | ||
| POSIX st_gid. More... | ||
| uint64_t inode = 0 | ||
| POSIX st_ino. More... | ||
| uint64_t device = 0 | ||
| POSIX st_dev. More... | ||
| uint64_t specialDevice = 0 | ||
| POSIX st_rdev. More... | ||
| uint64_t blocks = 0 | ||
| POSIX st_blocks. More... | ||
| uint64_t blockSize = 0 | ||
| POSIX st_blksize. More... | ||
| } | posix | |
| struct { | ||
| uint32_t attributes = 0 | ||
| Windows file attributes. More... | ||
| uint32_t reparseTag = 0 | ||
| Windows reparse tag. More... | ||
| uint32_t volumeSerialNumber = 0 | ||
| Windows volume serial number. More... | ||
| uint64_t fileIndex = 0 | ||
| Windows file index. More... | ||
| } | windows | |
A structure to describe file stats queried through a file descriptor.
| uint32_t SC::FileDescriptorStat::attributes = 0 |
Windows file attributes.
| uint64_t SC::FileDescriptorStat::blocks = 0 |
POSIX st_blocks.
| uint64_t SC::FileDescriptorStat::blockSize = 0 |
POSIX st_blksize.
| uint64_t SC::FileDescriptorStat::device = 0 |
POSIX st_dev.
| FileDescriptorEntryType SC::FileDescriptorStat::entryType = FileDescriptorEntryType::Unknown |
Type of entry associated with descriptor.
| uint64_t SC::FileDescriptorStat::fileIndex = 0 |
Windows file index.
| size_t SC::FileDescriptorStat::fileSize = 0 |
Size of the file in bytes.
| uint32_t SC::FileDescriptorStat::gid = 0 |
POSIX st_gid.
| size_t SC::FileDescriptorStat::hardLinkCount = 0 |
Number of hard links to the entry.
| uint64_t SC::FileDescriptorStat::inode = 0 |
POSIX st_ino.
| uint32_t SC::FileDescriptorStat::mode = 0 |
POSIX st_mode.
| uint32_t SC::FileDescriptorStat::reparseTag = 0 |
Windows reparse tag.
| uint64_t SC::FileDescriptorStat::specialDevice = 0 |
POSIX st_rdev.
| uint32_t SC::FileDescriptorStat::uid = 0 |
POSIX st_uid.
| uint32_t SC::FileDescriptorStat::volumeSerialNumber = 0 |
Windows volume serial number.