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

Method file_count

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

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

(&self)

Source from the content-addressed store, hash-verified

528
529 /// Returns the total number of files affected (modified + added + deleted).
530 pub fn file_count(&self) -> usize {
531 self.modified.len() + self.added.len() + self.deleted.len()
532 }
533
534 /// Returns all affected file paths in a single iterator.
535 ///

Callers 1

all_pathsMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected