struct VnodeAttributesUpdate

Defined at line 137 of file ../../src/storage/lib/vfs/cpp/vfs_types.h

A request to update pieces of the |VnodeAttributes| via |Vnode::SetAttributes|. Filesystems may

only support a sub-set of all possible attributes.

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

|FromIo1()| and |FromIo2()| functions accordingly.

Public Members

optional creation_time
optional modification_time
optional access_time
optional mode
optional uid
optional gid
optional rdev

Public Methods

VnodeAttributesQuery Query ()

Return a set of flags representing those attributes which we want to update.

Defined at line 149 of file ../../src/storage/lib/vfs/cpp/vfs_types.h

VnodeAttributesUpdate FromIo1 (const fuchsia_io::wire::NodeAttributes & attrs, fuchsia_io::NodeAttributeFlags flags)

Defined at line 175 of file ../../src/storage/lib/vfs/cpp/vfs_types.h

VnodeAttributesUpdate FromIo2 (const fuchsia_io::wire::MutableNodeAttributes & attrs)

Defined at line 187 of file ../../src/storage/lib/vfs/cpp/vfs_types.h