Function tvix_castore::directoryservice::utils::traverse_directory

source ยท
pub fn traverse_directory<'a, DS: DirectoryService + 'static>(
    directory_service: DS,
    root_directory_digest: &B3Digest,
) -> BoxStream<'a, Result<Directory, Error>>
Expand description

Traverses a Directory from the root to the children.

This is mostly BFS, but directories are only returned once.