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

Method tracked_file_count

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

Count the number of tracked files.

(&self)

Source from the content-addressed store, hash-verified

754
755 /// Count the number of tracked files.
756 pub fn tracked_file_count(&self) -> Result<usize, RepositoryError> {
757 Ok(self.list_tracked_files()?.len())
758 }
759
760 /// Remove a file from the FILE_INDEX.
761 ///

Callers

nothing calls this directly

Calls 2

list_tracked_filesMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected