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

Function hex_of_oid

atomic-cli/tests/it/git_binding_cb6c_test.rs:49–54  ·  view source on GitHub ↗
(oid: &atomic_core::operation::GitObjectId)

Source from the content-addressed store, hash-verified

47}
48
49fn hex_of_oid(oid: &atomic_core::operation::GitObjectId) -> String {
50 oid.as_bytes()
51 .iter()
52 .map(|byte| format!("{byte:02x}"))
53 .collect()
54}
55
56/// A publisher: Git baseline, imported shim baseline, three recorded changes,
57/// and a bound projection commit whose tree is the projected closure (built

Callers 1

setup_publisherFunction · 0.85

Calls 3

collectMethod · 0.45
iterMethod · 0.45
as_bytesMethod · 0.45

Tested by

no test coverage detected