Skip to main content

record_container_workspace

Function record_container_workspace 

Source
pub(crate) fn record_container_workspace(block_id: &str, host_dir: Option<&str>)
Expand description

Remember the host folder mounted at /workspace in the container of the agent on block_id, as srv started it: the mount’s source, not the block’s cmd:cwd, which any client can rewrite after the launch. Called where the container’s mounts are decided.