pub type ReadCap = ObjectRef;
Expand description
Read capability (for a commit, branch, whole repo, or store)
For a store: A ReadCap to the root repo of the store For a repo: A reference to the latest RootBranch definition commit For a branch: A reference to the latest Branch definition commit For a commit or object, the ObjectRef is itself the read capability
Aliased Type§
struct ReadCap {
pub id: Digest,
pub key: SymKey,
}
Fields§
§id: Digest
Block ID
key: SymKey
Key for decrypting the Block