List all tracked files in the repository. # Example ```rust,ignore for file in repo.list_tracked_files()? { println!("{}: inode {}", file.path.display(), file.inode.get()); } ```
(&self)
| 506 | /// } |
| 507 | /// ``` |
| 508 | pub fn list_tracked_files(&self) -> Result<Vec<TrackedFile>, RepositoryError> { |
| 509 | let txn = self |
| 510 | .pristine |
| 511 | .read_txn() |
| 512 | .map_err(|e| RepositoryError::Database(e.to_string()))?; |
| 513 | |
| 514 | list_tracked(&txn).map_err(|e| RepositoryError::Database(e.to_string())) |
| 515 | } |
| 516 | |
| 517 | /// Count the number of tracked files. |
| 518 | pub fn tracked_file_count(&self) -> Result<usize, RepositoryError> { |