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

Method dirty

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

Iterate over all dirty (changed) files.

(&self)

Source from the content-addressed store, hash-verified

709
710 /// Iterate over all dirty (changed) files.
711 pub fn dirty(&self) -> impl Iterator<Item = &FileStatusEntry> {
712 self.entries.iter().filter(|e| e.status.is_dirty())
713 }
714
715 /// Count of dirty files.
716 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