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

Method added

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

Iterate over added files.

(&self)

Source from the content-addressed store, hash-verified

649
650 /// Iterate over added files.
651 pub fn added(&self) -> impl Iterator<Item = &FileStatusEntry> {
652 self.entries
653 .iter()
654 .filter(|e| e.status == FileStatus::Added)
655 }
656
657 /// Count of added files.
658 pub fn added_count(&self) -> usize {

Callers 1

added_countMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected