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

Method file_count

atomic-agent/src/event.rs:522–524  ·  view source on GitHub ↗

Returns the total number of files affected (modified + added + deleted).

(&self)

Source from the content-addressed store, hash-verified

520
521 /// Returns the total number of files affected (modified + added + deleted).
522 pub fn file_count(&self) -> usize {
523 self.modified.len() + self.added.len() + self.deleted.len()
524 }
525
526 /// Returns all affected file paths in a single iterator.
527 ///

Callers 1

all_pathsMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected