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

Method entry_count

atomic-repository/src/repository/conflict_object.rs:338–340  ·  view source on GitHub ↗

Total number of conflict entries across all files.

(&self)

Source from the content-addressed store, hash-verified

336
337 /// Total number of conflict entries across all files.
338 pub fn entry_count(&self) -> usize {
339 self.files.iter().map(|file| file.entries.len()).sum()
340 }
341
342 /// Every side change hash referenced by any entry, deduplicated and
343 /// ordered. A pack is complete only when every referenced change exists

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected