snapshot_scheduler_artifact

Function snapshot_scheduler_artifact 

Source
pub fn snapshot_scheduler_artifact(
    source_path: &Path,
) -> Result<SchedulerArtifactSnapshot, String>
Expand description

Pin and snapshot one scheduler executable into the shared content CAS.

The source is opened before hashing or publication, which pins its inode against Cargo’s atomic replacement. Identical bytes across components, workspaces, and processes converge on one immutable mode-0555 inode.