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

Function is_shared

atomic-core/src/pristine/git_closure.rs:50–52  ·  view source on GitHub ↗
(bytes: &[u8])

Source from the content-addressed store, hash-verified

48}
49
50pub(crate) fn is_shared(bytes: &[u8]) -> bool {
51 bytes.len() == 44 && bytes.starts_with(MAGIC)
52}
53
54fn encode_tree(
55 hashes: &[Hash],

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected