struct DeprecatedOptions

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

Options specified during opening and cloning.

Public Members

OpenFlags flags
Operations rights

Public Methods

fuchsia_io::NodeProtocolKinds protocols ()

Translates the io1 flags passed by the client into an equivalent set of io2 protocols.

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

zx::result<DeprecatedOptions> FromOpen1Flags (fuchsia_io::OpenFlags flags)

Converts from fuchsia.io/Directory.Open1 flags to |DeprecatedOptions|. Note that in io1,

certain operations were unprivileged so they may be implicitly added to the resulting `rights`.

Defined at line 72 of file ../../src/storage/lib/vfs/cpp/vfs_types.cc

zx::result<DeprecatedOptions> FromCloneFlags (fuchsia_io::OpenFlags flags, VnodeProtocol protocol)

Converts from fuchsia.io/Directory.Clone flags to |DeprecatedOptions|.

Defined at line 90 of file ../../src/storage/lib/vfs/cpp/vfs_types.cc

fuchsia_io::OpenFlags ToIoV1Flags ()

Converts from |DeprecatedOptions| to fuchsia.io flags.

Defined at line 130 of file ../../src/storage/lib/vfs/cpp/vfs_types.cc