Skip to main content

capture

Function capture 

Source
pub fn capture(
    store_root: &Path,
    cmd: &ProposedCommand,
) -> Result<Option<Manifest>>
Expand description

Capture a snapshot of the existing predicted paths into store_root.

Returns Ok(None) when nothing existed to capture (so callers can skip recording an empty snapshot). The store sub-directory is store_root/<id>.