class MutableNodeAttributes
Defined at line 3621 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
Public Methods
void MutableNodeAttributes (Storage_ storage)
void MutableNodeAttributes ()
Defined at line 3626 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
void MutableNodeAttributes (MutableNodeAttributes && )
Defined at line 3627 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
void MutableNodeAttributes (const MutableNodeAttributes & other)
MutableNodeAttributes & operator= (MutableNodeAttributes && )
Defined at line 3628 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/natural_types.h
MutableNodeAttributes & operator= (const MutableNodeAttributes & other)
bool operator== (const MutableNodeAttributes & other)
bool operator!= (const MutableNodeAttributes & other)
bool IsEmpty ()
const std::optional<uint64_t> & creation_time ()
Time of creation in nanoseconds since the Unix epoch, UTC.
::std::optional<uint64_t> & creation_time ()
Time of creation in nanoseconds since the Unix epoch, UTC.
MutableNodeAttributes & creation_time (std::optional<uint64_t> value)
Time of creation in nanoseconds since the Unix epoch, UTC.
const std::optional<uint64_t> & modification_time ()
Time of last modification in nanoseconds since the Unix epoch, UTC.
::std::optional<uint64_t> & modification_time ()
Time of last modification in nanoseconds since the Unix epoch, UTC.
MutableNodeAttributes & modification_time (std::optional<uint64_t> value)
Time of last modification in nanoseconds since the Unix epoch, UTC.
const std::optional<uint32_t> & mode ()
POSIX compatibility attributes. Most filesystems will not support
these. Those that do must simply store and retrieve them (e.g. as
extended attributes) and not attempt to interpret them (e.g. by doing
permission checks or handling device opens specially).
::std::optional<uint32_t> & mode ()
POSIX compatibility attributes. Most filesystems will not support
these. Those that do must simply store and retrieve them (e.g. as
extended attributes) and not attempt to interpret them (e.g. by doing
permission checks or handling device opens specially).
MutableNodeAttributes & mode (std::optional<uint32_t> value)
POSIX compatibility attributes. Most filesystems will not support
these. Those that do must simply store and retrieve them (e.g. as
extended attributes) and not attempt to interpret them (e.g. by doing
permission checks or handling device opens specially).
const std::optional<uint32_t> & uid ()
::std::optional<uint32_t> & uid ()
MutableNodeAttributes & uid (std::optional<uint32_t> value)
Setter for uid.
const std::optional<uint32_t> & gid ()
::std::optional<uint32_t> & gid ()
MutableNodeAttributes & gid (std::optional<uint32_t> value)
Setter for gid.
const std::optional<uint64_t> & rdev ()
::std::optional<uint64_t> & rdev ()
MutableNodeAttributes & rdev (std::optional<uint64_t> value)
Setter for rdev.
const std::optional<uint64_t> & access_time ()
Time of last access in nanoseconds since the Unix epoch, UTC. Note that servers might not
always update this if this is the only attribute being updated.
::std::optional<uint64_t> & access_time ()
Time of last access in nanoseconds since the Unix epoch, UTC. Note that servers might not
always update this if this is the only attribute being updated.
MutableNodeAttributes & access_time (std::optional<uint64_t> value)
Time of last access in nanoseconds since the Unix epoch, UTC. Note that servers might not
always update this if this is the only attribute being updated.
const std::optional<bool> & casefold ()
Casefold (case-insensitive filename) support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created.
The only filesystem to support this at the time of writing is Fxfs.
::std::optional<bool> & casefold ()
Casefold (case-insensitive filename) support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created.
The only filesystem to support this at the time of writing is Fxfs.
MutableNodeAttributes & casefold (std::optional<bool> value)
Casefold (case-insensitive filename) support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created.
The only filesystem to support this at the time of writing is Fxfs.
const std::optional< ::fuchsia_io::SelinuxContext> & selinux_context ()
The value of the extended attribute "security.selinux" to be used in the context of SELinux
implementations. The value can only be set or returned if it is
[`MAX_SELINUX_CONTEXT_ATTRIBUTE_LEN`] characters or less to constrain the size of the
response. If the value is not currently found on the node the response the field will not
be included in the response. If the value is found on the node but the server is not
returning it here due to size or implementation, then it will return
`use_extended_attributes` to indicate using the ['fuchsia.io/Node.GetExtendedAttribute`]
to retrieve it.
ZX_ERR_INVALID_ARGS will be returned if there is an attempt set this attribute with the
`use_extended_attributes` member.
::std::optional< ::fuchsia_io::SelinuxContext> & selinux_context ()
The value of the extended attribute "security.selinux" to be used in the context of SELinux
implementations. The value can only be set or returned if it is
[`MAX_SELINUX_CONTEXT_ATTRIBUTE_LEN`] characters or less to constrain the size of the
response. If the value is not currently found on the node the response the field will not
be included in the response. If the value is found on the node but the server is not
returning it here due to size or implementation, then it will return
`use_extended_attributes` to indicate using the ['fuchsia.io/Node.GetExtendedAttribute`]
to retrieve it.
ZX_ERR_INVALID_ARGS will be returned if there is an attempt set this attribute with the
`use_extended_attributes` member.
MutableNodeAttributes & selinux_context (std::optional< ::fuchsia_io::SelinuxContext> value)
The value of the extended attribute "security.selinux" to be used in the context of SELinux
implementations. The value can only be set or returned if it is
[`MAX_SELINUX_CONTEXT_ATTRIBUTE_LEN`] characters or less to constrain the size of the
response. If the value is not currently found on the node the response the field will not
be included in the response. If the value is found on the node but the server is not
returning it here due to size or implementation, then it will return
`use_extended_attributes` to indicate using the ['fuchsia.io/Node.GetExtendedAttribute`]
to retrieve it.
ZX_ERR_INVALID_ARGS will be returned if there is an attempt set this attribute with the
`use_extended_attributes` member.
const std::optional< ::std::array<uint8_t, 16>> & wrapping_key_id ()
Fscrypt support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created. This attribute can only be set once per
directory. The wrapping_key_id set will be used to encrypt file contents and filenames for
this directory and its children.
The only filesystem to support this at the time of writing is Fxfs.
::std::optional< ::std::array<uint8_t, 16>> & wrapping_key_id ()
Fscrypt support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created. This attribute can only be set once per
directory. The wrapping_key_id set will be used to encrypt file contents and filenames for
this directory and its children.
The only filesystem to support this at the time of writing is Fxfs.
MutableNodeAttributes & wrapping_key_id (std::optional< ::std::array<uint8_t, 16>> value)
Fscrypt support
This attribute can only be changed on empty directories and will be inherited by any
child directories that are subsequently created. This attribute can only be set once per
directory. The wrapping_key_id set will be used to encrypt file contents and filenames for
this directory and its children.
The only filesystem to support this at the time of writing is Fxfs.
void MutableNodeAttributes (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits