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

Method tracked_paths

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

Get all tracked file paths (not untracked).

(&self)

Source from the content-addressed store, hash-verified

609
610 /// Get all tracked file paths (not untracked).
611 pub fn tracked_paths(&self) -> Vec<&Path> {
612 self.entries
613 .iter()
614 .filter(|e| !e.status.is_untracked())
615 .map(|e| e.path())
616 .collect()
617 }
618}
619
620impl Default for RepositoryStatus {

Callers 1

Calls 3

is_untrackedMethod · 0.80
iterMethod · 0.45
pathMethod · 0.45

Tested by 1