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

Method stats

atomic-core/src/record/builder.rs:449–458  ·  view source on GitHub ↗

Get statistics about the recording.

(&self)

Source from the content-addressed store, hash-verified

447
448 /// Get statistics about the recording.
449 pub fn stats(&self) -> RecordStats {
450 RecordStats {
451 hunk_count: self.actions.len(),
452 content_bytes: self.contents.len(),
453 inode_update_count: self.updatables.len(),
454 recorded_inode_count: self.recorded_inodes.len(),
455 largest_file: self.largest_file,
456 has_binary_files: self.has_binary_files,
457 }
458 }
459}
460
461impl Default for RecordBuilder {

Callers 2

test_stats_emptyFunction · 0.45
test_stats_populatedFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by 2

test_stats_emptyFunction · 0.36
test_stats_populatedFunction · 0.36