Modulesยง
- blob_
service_ client - Generated client implementations.
- blob_
service_ server - Generated server implementations.
- directory_
service_ client - Generated client implementations.
- directory_
service_ server - Generated server implementations.
- entry
- Nested message and enum types in
Entry. - get_
directory_ request - Nested message and enum types in
GetDirectoryRequest. - grpc_
blobservice_ ๐wrapper - grpc_
directoryservice_ ๐wrapper - stat_
blob_ response - Nested message and enum types in
StatBlobResponse. - url ๐
Structsยง
- Blob
Chunk - This represents some bytes of a blob. Blobs are sent in smaller chunks to keep message sizes manageable.
- Directory
- A Directory can contain Directory, File or Symlink entries. Each of these nodes have a name attribute, which is the basename in that directory and node type specific attributes. The name attribute:
- Directory
Entry - A DirectoryEntry represents a directory.
- Entry
- A Entry is either a DirectoryEntry, FileEntry or SymlinkEntry.
- File
Entry - A FileEntry represents a regular or executable file.
- GRPC
Blob Service Wrapper - GRPC
Directory Service Wrapper - GetDirectory
Request - PutBlob
Response - PutDirectory
Response - Read
Blob Request - Stat
Blob Request - Stat
Blob Response - Symlink
Entry - A SymlinkEntry represents a symbolic link.
Enumsยง
- Validate
Stat Blob Response Error - Errors that occur during StatBlobResponse validation
Constantsยง
- FILE_
DESCRIPTOR_ SET tonic-reflection - Compiled file descriptors for implementing gRPC
reflection with e.g.
tonic_reflection.
Functionsยง
- checked_
sum ๐ - parse_
infused_ nar_ path - Detects and parses a castore-infused NAR path.
- parse_
urlsafe_ proto - Takes a urlsafe base64-encoded castore node (in proto) and attempts to parse it.
- write_
infused_ nar_ path - From a given root node and nar_size, writes a castore-infused NAR path to the writer.