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

Method added

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

Iterate over added files.

(&self)

Source from the content-addressed store, hash-verified

552
553 /// Iterate over added files.
554 pub fn added(&self) -> impl Iterator<Item = &FileStatusEntry> {
555 self.entries
556 .iter()
557 .filter(|e| e.status == FileStatus::Added)
558 }
559
560 /// Count of added files.
561 pub fn added_count(&self) -> usize {

Callers 1

added_countMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected