Skip to main content

Module proto

Module proto 

Source

Modulesยง

blob_meta
Nested message and enum types in BlobMeta.
blob_store_service_client
Generated client implementations.
blob_store_service_server
Generated server implementations.
blobstore ๐Ÿ”’
chunk_store_service_client
Generated client implementations.
chunk_store_service_server
Generated server implementations.
chunkstore ๐Ÿ”’
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_blobstore_wrapper ๐Ÿ”’
grpc_chunkstore_wrapper ๐Ÿ”’
grpc_directoryservice_wrapper ๐Ÿ”’
url ๐Ÿ”’

Structsยง

BlobMeta
Describes more granular chunking information of a blob.
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:
DirectoryEntry
A DirectoryEntry represents a directory.
Entry
A Entry is either a DirectoryEntry, FileEntry or SymlinkEntry.
FileEntry
A FileEntry represents a regular or executable file.
GRPCBlobStoreWrapper
Wraps a BlobStore into a gRPC proto::blob_store_service_server::BlobStoreService.
GRPCChunkStoreWrapper
Wraps a ChunkStore into a gRPC proto::chunk_store_service_server::ChunkStoreService.
GRPCDirectoryServiceWrapper
GetBlobRequest
GetBlobResponse
GetChunkRequest
GetChunkResponse
GetDirectoryRequest
PutBlobRequest
PutBlobResponse
PutChunkRequest
PutChunkResponse
PutDirectoryResponse
StatBlobRequest
StatBlobResponse
StatChunkRequest
StatChunkResponse
SymlinkEntry
A SymlinkEntry represents a symbolic link.

Enumsยง

ValidateStatBlobResponseError
Errors that occur during StatBlobResponse validation

Constantsยง

FILE_DESCRIPTOR_SET
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.