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

Method added

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

Iterate over added files.

(&self)

Source from the content-addressed store, hash-verified

564
565 /// Iterate over added files.
566 pub fn added(&self) -> impl Iterator<Item = &FileStatusEntry> {
567 self.entries
568 .iter()
569 .filter(|e| e.status == FileStatus::Added)
570 }
571
572 /// Count of added files.
573 pub fn added_count(&self) -> usize {

Callers 1

added_countMethod · 0.45

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected