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

Method pending_untrack

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

Iterate over tracked files whose untracking a `remove --keep` has staged for the next record.

(&self)

Source from the content-addressed store, hash-verified

625 /// Iterate over tracked files whose untracking a `remove --keep` has
626 /// staged for the next record.
627 pub fn pending_untrack(&self) -> impl Iterator<Item = &FileStatusEntry> {
628 self.entries
629 .iter()
630 .filter(|e| e.status == FileStatus::PendingUntrack)
631 }
632
633 /// Count of pending untracks.
634 pub fn pending_untrack_count(&self) -> usize {

Callers 2

print_long_formatMethod · 0.80
pending_untrack_countMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected