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

Method tracked_paths

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

Get all tracked file paths (not untracked).

(&self)

Source from the content-addressed store, hash-verified

730
731 /// Get all tracked file paths (not untracked).
732 pub fn tracked_paths(&self) -> Vec<&Path> {
733 self.entries
734 .iter()
735 .filter(|e| !e.status.is_untracked())
736 .map(|e| e.path())
737 .collect()
738 }
739}
740
741impl Default for RepositoryStatus {

Callers 1

Calls 4

is_untrackedMethod · 0.80
collectMethod · 0.45
iterMethod · 0.45
pathMethod · 0.45

Tested by 1