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

Method tracked_paths

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

Get all tracked file paths (not untracked).

(&self)

Source from the content-addressed store, hash-verified

621
622 /// Get all tracked file paths (not untracked).
623 pub fn tracked_paths(&self) -> Vec<&Path> {
624 self.entries
625 .iter()
626 .filter(|e| !e.status.is_untracked())
627 .map(|e| e.path())
628 .collect()
629 }
630}
631
632impl Default for RepositoryStatus {

Callers 1

Calls 3

is_untrackedMethod · 0.80
iterMethod · 0.45
pathMethod · 0.45

Tested by 1