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

Function comparable

atomic-repository/tests/it/project_tree_cb4a_test.rs:16–23  ·  view source on GitHub ↗
(entry: &RepositoryEntry)

Source from the content-addressed store, hash-verified

14}
15
16fn comparable(entry: &RepositoryEntry) -> (&[u8], &[u8], u32, InodeKind) {
17 (
18 entry.path.as_bytes(),
19 &entry.repository_bytes,
20 entry.git_mode(),
21 entry.kind,
22 )
23}
24
25#[test]
26#[cfg(unix)]

Callers

nothing calls this directly

Calls 2

git_modeMethod · 0.80
as_bytesMethod · 0.45

Tested by

no test coverage detected