struct VnodeAttributes
Defined at line 101 of file ../../src/storage/lib/vfs/cpp/vfs_types.h
Objective information about a filesystem node, used to implement |Vnode::GetAttributes|.
Filesystems should only report those attributes which it has support for.
Note that only attributes for which existing filesystems support are currently implemented.
Additional attributes can be supported by adding them to this struct, and updating the
|NodeAttributeBuilder::Build()| function accordingly.
Public Members
optional id
optional content_size
optional storage_size
optional link_count
optional creation_time
optional modification_time
optional access_time
optional change_time
optional mode
optional uid
optional gid
optional rdev
Public Methods
bool operator== (const VnodeAttributes & other)
Compare two |VnodeAttributes| instances for equality.
Defined at line 119 of file ../../src/storage/lib/vfs/cpp/vfs_types.h
fuchsia_io::wire::NodeAttributes ToIoV1NodeAttributes (const fs::Vnode & vnode)
Converts from |VnodeAttributes| to fuchsia.io v1 |NodeAttributes|.
Defined at line 147 of file ../../src/storage/lib/vfs/cpp/vfs_types.cc