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

Method list_all_paths

atomic-core/src/output/memory.rs:420–423  ·  view source on GitHub ↗

List all paths (files and directories) in the working copy.

(&self)

Source from the content-addressed store, hash-verified

418
419 /// List all paths (files and directories) in the working copy.
420 pub fn list_all_paths(&self) -> Vec<String> {
421 let files = self.files.borrow();
422 files.keys().cloned().collect()
423 }
424
425 /// Check if the working copy is empty.
426 pub fn is_empty(&self) -> bool {

Callers 1

sorted_pathsFunction · 0.80

Calls 1

collectMethod · 0.45

Tested by 1

sorted_pathsFunction · 0.64