summaryrefslogtreecommitdiffstats
path: root/src/sandbox/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sandbox/mod.rs')
-rw-r--r--src/sandbox/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sandbox/mod.rs b/src/sandbox/mod.rs
index 18c98ad..5be5f4f 100644
--- a/src/sandbox/mod.rs
+++ b/src/sandbox/mod.rs
@@ -37,6 +37,11 @@ pub mod loopback;
/// `Command`-shaped: a remote sandbox must never be handed a shell string, and
/// the environment is the backend's business (see `Config::child_env`), not the
/// caller's.
+///
+/// An argv element of the form `blob:<digest>` names a content-addressed blob
+/// staged with [`Sandbox::put`]: the backend expands it to wherever that blob
+/// materializes inside the sandbox. Callers never name sandbox-local paths —
+/// that is what keeps a loopback step byte-identical to a remote one.
#[derive(Debug, Clone)]
pub struct Cmd {
pub argv: Vec<String>,