Expand description
Content-addressed store and action cache for cuenv.
This crate provides the caching primitives used by the task executor:
Digest—(sha256, size)pair identifying a blob.Cas+LocalCas— a blob store.ActionCache+LocalActionCache— mapsActiondigests toActionResultrecords.message— Bazel Remote Execution v2-shaped messages (Action,Command,Directory,ActionResult, …).merkle::build_input_tree/merkle::materialize_input_tree— Merkle-tree construction and materialization.
The types in this crate deliberately mirror
build.bazel.remote.execution.v2.* so that a future remote backend can
use the official bazel-remote-apis generated types without reshaping
any cuenv data structures.
Re-exports§
pub use action_cache::ActionCache;pub use action_cache::LocalActionCache;pub use cas::Cas;pub use cas::LocalCas;pub use digest::Digest;pub use digest::canonical_bytes;pub use digest::digest_of;pub use error::Error;pub use error::Result;pub use merkle::build_input_tree;pub use merkle::directory_digest;pub use merkle::materialize_input_tree;pub use message::Action;pub use message::ActionResult;pub use message::Command;pub use message::Directory;pub use message::DirectoryNode;pub use message::ExecutionMetadata;pub use message::FileNode;pub use message::OutputDirectory;pub use message::OutputFile;pub use message::Platform;pub use message::SymlinkNode;
Modules§
- action_
cache ActionCachetrait and a local on-disk implementation.- cas
Castrait and local on-disk implementation.- digest
- Digest type and canonical hashing.
- error
- Error types for the content-addressed store.
- merkle
- Merkle-tree construction over a directory.
- message
- Action / Command / Directory / ActionResult messages.