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

Method stale_index_count

atomic-repository/src/status.rs:536–538  ·  view source on GitHub ↗

Number of tracked files that were reported as Modified only because their FILE_INDEX entry was missing. When non-zero, running `atomic status --re-index` will likely resolve the false positives.

(&self)

Source from the content-addressed store, hash-verified

534 /// their FILE_INDEX entry was missing. When non-zero, running
535 /// `atomic status --re-index` will likely resolve the false positives.
536 pub fn stale_index_count(&self) -> usize {
537 self.stale_index_count
538 }
539
540 /// Whether the FILE_INDEX appears stale (some entries are missing).
541 pub fn needs_reindex(&self) -> bool {

Callers 2

newMethod · 0.80
statusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected