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

Method len

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

Get the number of entries (files + directories).

(&self)

Source from the content-addressed store, hash-verified

429
430 /// Get the number of entries (files + directories).
431 pub fn len(&self) -> usize {
432 self.files.borrow().len()
433 }
434
435 /// Clear all files and directories.
436 pub fn clear(&self) {

Callers 9

total_token_countMethod · 0.45
total_line_countMethod · 0.45
get_file_lines_by_trunkFunction · 0.45
output_file_via_crdtFunction · 0.45
from_bytesMethod · 0.45
output_lineMethod · 0.45
fmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected