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

Function native_row_count

atomic-repository/src/repository/repair.rs:1849–1857  ·  view source on GitHub ↗
(indexes: &NativeDerivedIndexes)

Source from the content-addressed store, hash-verified

1847}
1848
1849fn native_row_count(indexes: &NativeDerivedIndexes) -> usize {
1850 indexes.path_claims.len()
1851 + indexes.tree.len()
1852 + indexes.rev_tree.len()
1853 + indexes.inodes.len()
1854 + indexes.rev_inodes.len()
1855 + indexes.directories.len()
1856 + indexes.conflicts.len()
1857}
1858
1859/// Domain-separated canonical bytes for a Repair evidence digest: the tag
1860/// makes the before-plan and post-write digests structurally distinct even

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected