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

Method status

atomic-repository/src/repository/status.rs:31–33  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 ///

Callers 15

status_innerMethod · 0.45
status_quickMethod · 0.45
status_trackedMethod · 0.45
is_working_copy_cleanMethod · 0.45
modified_filesMethod · 0.45
untracked_filesMethod · 0.45
deleted_filesMethod · 0.45
verify_working_copyMethod · 0.45
recordMethod · 0.45

Calls 1

status_innerMethod · 0.80