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

Method file_count

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

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

(&self)

Source from the content-addressed store, hash-verified

910
911 /// Returns the total number of files affected (modified + added + deleted).
912 pub fn file_count(&self) -> usize {
913 self.modified.len() + self.added.len() + self.deleted.len()
914 }
915
916 /// Returns all affected file paths in a single iterator.
917 ///

Callers 1

all_pathsMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected