#[non_exhaustive]pub struct Inode {}Expand description
A decoded btrfs_inode_item: file/dir metadata + the four timestamps.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.objectid: u64The inode’s own objectid (the FS_TREE key objectid it was found under).
generation: u64generation — the transaction id that created the inode.
transid: u64transid — the transaction id of the last metadata change.
size: u64size — the logical file size in bytes (directory entry-name bytes for a
directory).
nbytes: u64nbytes — bytes actually allocated on disk (0 for a hole-only / empty).
nlink: u32nlink — the hard-link count.
uid: u32uid — owner user id.
gid: u32gid — owner group id.
mode: u32mode — the POSIX mode bits, including the file-type bits (e.g.
0o100644 for a regular file, 0o40755 for a directory).
flags: u64flags — the BTRFS_INODE_* flag bits.
atime: Timestampatime — last access time.
ctime: Timestampctime — last status-change (inode) time.
mtime: Timestampmtime — last data-modification time.
otime: Timestampotime — creation (birth) time.