component_debug::dirs

Function open_in_instance_dir

Source
pub async fn open_in_instance_dir(
    moniker: &Moniker,
    dir_type: OpenDirType,
    flags: OpenFlags,
    mode: ModeType,
    path: &str,
    object: Channel,
    realm: &RealmQueryProxy,
) -> Result<(), OpenError>
Expand description

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.