Skip to main content

Crate package_directory

Crate package_directory 

Source

Structs§

CachedRootDir
A wrapper around RootDir that notifies RootDirCache when dropped.
ExecutionScope
An execution scope that is hosting tasks for a group of connections. See the module level documentation for details.
RootDir
The root directory of Fuchsia package.
RootDirCache
RootDirCache is a cache of Arc<impl Deref<Target = RootDir>>s indexed by their hash.

Enums§

Error
NonMetaStorageError
PathError
ReadFileError
SubpackagesError

Traits§

NonMetaStorage
The storage that provides the non-meta files (accessed by hash) of a package-directory (e.g. blobfs).

Functions§

serve
Serves a package directory for the package with hash meta_far on server_end. The connection rights are set by flags, used the same as the flags parameter of fuchsia.io/Directory.Open.
serve_path
Serves a sub-path of a package directory for the package with hash meta_far on server_end.