MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / set

Function set

atomic-repository/src/repository/deferred_tree.rs:2092–2107  ·  view source on GitHub ↗
(
        change: Hash,
        inode: Position<Hash>,
        baseline: Option<&str>,
        path: &str,
    )

Source from the content-addressed store, hash-verified

2090 }
2091
2092 fn set(
2093 change: Hash,
2094 inode: Position<Hash>,
2095 baseline: Option<&str>,
2096 path: &str,
2097 ) -> DeferredTreeOp {
2098 DeferredTreeOp {
2099 change,
2100 inode,
2101 baseline_path: baseline.map(str::to_string),
2102 directory: Some(false),
2103 action: DeferredTreeAction::Set {
2104 path: path.to_string(),
2105 },
2106 }
2107 }
2108
2109 #[test]
2110 fn planner_handles_causal_rename_chains_and_view_visibility() {

Callers 15

workerFunction · 0.85
validate_reportFunction · 0.85
source_fingerprintFunction · 0.85
validate_reportFunction · 0.85
validate_manifestFunction · 0.85
prepareFunction · 0.85
verifyFunction · 0.85
captureFunction · 0.85

Calls

no outgoing calls