Module fs

Source
Expand description

Import from a real filesystem.

Enums§

Error

Functions§

dir_entries_to_ingestion_stream
Converts an iterator of walkdir::DirEntrys into a stream of ingestion entries. This can then be fed into ingest_entries to ingest all the entries into the castore.
dir_entry_to_ingestion_entry
Converts a walkdir::DirEntry into an IngestionEntry, uploading blobs to the provided BlobService.
ingest_path
Ingests the contents at a given path into the snix store, interacting with a BlobService and DirectoryService. It returns the root node or an error.
upload_blob 🔒
Uploads the file at the provided std::path::Path the the BlobService.