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

Method is_empty

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

Check if the working copy is empty.

(&self)

Source from the content-addressed store, hash-verified

424
425 /// Check if the working copy is empty.
426 pub fn is_empty(&self) -> bool {
427 self.files.borrow().is_empty()
428 }
429
430 /// Get the number of entries (files + directories).
431 pub fn len(&self) -> usize {

Callers 4

output_lineMethod · 0.45
ensure_directoriesMethod · 0.45
walk_filesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected