Skip to main content

Module workspace

Module workspace 

Source
Expand description

Isolated project snapshots and crash-recoverable stable build cache.

Structs§

CacheRecoveryResult
CommandOutputSync
What flowed back to the real project after the wrapped command finished.
WorkspaceOutputBaseline
The state of every regular file in the mirror the moment before the wrapped command starts: relative path to (length, modified time). Cheap to take (stat only) and precise enough to attribute changes to the command.

Enums§

WorkspaceError

Functions§

cached_workspace_path
cargo_cached_workspace_path
cargo_workspace_container
clean_cargo_workspace
isolated_workspace_path
prepare_cached_workspace
prepare_cargo_cached_workspace
prepare_isolated_workspace
prune_cached_workspace_sources
recover_cached_workspace
recover_cargo_cached_workspace
remove_cargo_workspace_run
sync_command_outputs
Copy files the wrapped command created or changed in the mirror back to the real project, so supercov -- <command> leaves the working tree in the same state <command> alone would have: updated snapshots, generated fixtures, and reports land in the repository, not in a cache directory. protected names relative paths whose mirror copies are instrumented and must never flow back.
workspace_container
workspace_output_baseline