Module dirs

Source
Expand description

Convenience functions for accessing directories of a component instance and opening protocols that exist in them.

Enums§

OpenDirType
The directories of a component instance that can be opened.
OpenError
Errors that can be returned from opening a component instance directory.

Functions§

connect_to_instance_protocol_at_dir_root
Opens a protocol in a component instance directory, assuming it is located at the root.
connect_to_instance_protocol_at_path
Opens a protocol in a component instance directory at the given |path|.
open_in_instance_dir
Opens an object in a component instance directory with the given |flags|, |mode| and |path|. Component manager will make the corresponding fuchsia.io.Directory/Open call on the directory.
open_instance_dir_root_readable
Opens the root of a component instance directory with read rights.
open_instance_subdir_readable
Opens the subdirectory of a component instance directory with read rights.