Function tvix_store::pathinfoservice::fs::make_fs

source ยท
pub fn make_fs<BS, DS, PS>(
    blob_service: BS,
    directory_service: DS,
    path_info_service: PS,
    list_root: bool,
    show_xattr: bool,
) -> TvixStoreFs<BS, DS, RootNodesWrapper<PS>>
where BS: BlobService + Send + Clone + 'static, DS: DirectoryService + Send + Clone + 'static, PS: PathInfoService + Send + Sync + Clone + 'static,
Expand description

Helper to construct a TvixStoreFs from a BlobService, DirectoryService and PathInfoService. This avoids users to have to interact with the wrapper struct directly, as it leaks into the type signature of TvixStoreFS.