read_filesystem

Function read_filesystem 

Source
pub fn read_filesystem<ObjectID: FsVerityHashValue>(
    dirfd: impl AsFd,
    path: &Path,
    repo: Option<&Repository<ObjectID>>,
) -> Result<FileSystem<ObjectID>>
Expand description

Load a filesystem tree from the given path. A repository may be provided; if it is, then all files found in the filesystem are copied in.