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

Method tracked_file_count

atomic-repository/src/repository/tracking.rs:518–520  ·  view source on GitHub ↗

Count the number of tracked files.

(&self)

Source from the content-addressed store, hash-verified

516
517 /// Count the number of tracked files.
518 pub fn tracked_file_count(&self) -> Result<usize, RepositoryError> {
519 Ok(self.list_tracked_files()?.len())
520 }
521
522 /// Remove a file from the FILE_INDEX.
523 ///

Callers

nothing calls this directly

Calls 2

list_tracked_filesMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected