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

Method dirty

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

Iterate over all dirty (changed) files.

(&self)

Source from the content-addressed store, hash-verified

588
589 /// Iterate over all dirty (changed) files.
590 pub fn dirty(&self) -> impl Iterator<Item = &FileStatusEntry> {
591 self.entries.iter().filter(|e| e.status.is_dirty())
592 }
593
594 /// Count of dirty files.
595 pub fn dirty_count(&self) -> usize {

Callers 1

dirty_countMethod · 0.80

Calls 2

is_dirtyMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected