Compute the status of the working copy. Optimized for repositories with tens of thousands of files: 1. **Single TREE pass** — builds tracked_paths + inode_map together 2. **FILE_INDEX fast path** — stat-only check for unchanged files 3. **Clean files skipped** — only Modified/Added/Deleted/Untracked allocated 4. **Deferred walkdir** — filesystem walk only when untracked files requested # Perfor
(&self, options: StatusOptions)
| 29 | /// | 43,000 files | ~150s | <3s | |
| 30 | /// | 80,000 files | ~150s | <5s | |
| 31 | pub fn status(&self, options: StatusOptions) -> Result<RepositoryStatus, RepositoryError> { |
| 32 | self.status_inner(options, UntrackedScanPolicy::Always, true) |
| 33 | } |
| 34 | |
| 35 | /// Compute status for recording without scanning unrelated untracked files. |
| 36 | /// |