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: AsRef<dyn BlobService> + Send + Clone + 'static, DS: AsRef<dyn DirectoryService> + Send + Clone + 'static, PS: AsRef<dyn 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.