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

Function binding_id_from_output

atomic-cli/tests/it/git_anchor_cb7a_test.rs:174–178  ·  view source on GitHub ↗
(output: &str)

Source from the content-addressed store, hash-verified

172}
173
174fn binding_id_from_output(output: &str) -> String {
175 let marker = "Anchor binding ";
176 let start = output.find(marker).expect("Anchor binding id in output") + marker.len();
177 output[start..start + 64].to_string()
178}
179
180// ── AC-1: enable → Anchor ────────────────────────────────────────────────
181

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected