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

Method paths_with_status

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

Get all paths with a specific status.

(&self, status: FileStatus)

Source from the content-addressed store, hash-verified

721
722 /// Get all paths with a specific status.
723 pub fn paths_with_status(&self, status: FileStatus) -> Vec<&Path> {
724 self.entries
725 .iter()
726 .filter(|e| e.status == status)
727 .map(|e| e.path())
728 .collect()
729 }
730
731 /// Get all tracked file paths (not untracked).
732 pub fn tracked_paths(&self) -> Vec<&Path> {

Calls 3

collectMethod · 0.45
iterMethod · 0.45
pathMethod · 0.45

Tested by 1