Modulesยง
- hashing_
reader ๐ - import ๐
- listing ๐
- renderer ๐
- seekable
Structsยง
Enumsยง
- Listing
Error - NarIngestion
Error - Represents errors that can happen during nar ingestion.
- Render
Error - Errors that can encounter while rendering NARs.
Traitsยง
Functionsยง
- calculate_
size_ and_ sha256 - Invoke write_nar, and return the size and sha256 digest of the produced NAR output.
- ingest_
nar - Ingests the contents from a AsyncRead providing NAR into the snix store, interacting with a BlobService and DirectoryService. It returns the castore root node or an error.
- ingest_
nar_ and_ hash - Ingests the contents from a AsyncRead providing NAR into the snix store, interacting with a BlobService and DirectoryService. Returns the castore root node, as well as the sha256 and size of the NAR contents ingested.
- produce_
listing - Accepts a Node pointing to the root of a (store) path, and uses the passed DirectoryService to expand the entire structure. Then assembles a Listing.
- write_
nar - Accepts a Node pointing to the root of a (store) path, and uses the passed blob_service and directory_service to perform the necessary lookups as it traverses the structure. The contents in NAR serialization are writen to the passed AsyncWrite.