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

Function head_map

atomic-cli/tests/it/git_anchor_cb7a_test.rs:169–172  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

167}
168
169fn head_map(root: &Path) -> serde_json::Value {
170 let bytes = fs::read(root.join(".atomic/bridge/head-map.json")).expect("head map exists");
171 serde_json::from_slice(&bytes).expect("head map json")
172}
173
174fn binding_id_from_output(output: &str) -> String {
175 let marker = "Anchor binding ";

Calls 1

readFunction · 0.70

Tested by

no test coverage detected