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

Function collect_working_copy_files

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

Collect all files in a directory, respecting ignore patterns. # Arguments `root` - The root directory to walk `options` - Status options controlling which files to include # Returns A set of paths relative to the root directory.

(
    root: &Path,
    options: &StatusOptions,
)

Source from the content-addressed store, hash-verified

762///
763/// A set of paths relative to the root directory.
764pub fn collect_working_copy_files(
765 root: &Path,
766 options: &StatusOptions,
767) -> StatusResult<HashSet<PathBuf>> {
768 collect_working_copy_files_with_rules(root, options, None)
769}
770
771/// Collect all files in a directory, respecting ignore patterns and custom rules.
772///