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

Method status_tracked

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

Status showing only tracked files (no untracked). # Example ```rust,ignore let status = repo.status_tracked(working_copy)?; // Only shows modified, deleted, added - no untracked ```

(
        &self,
        working_copy: WorkingCopyId,
    )

Source from the content-addressed store, hash-verified

1173 /// // Only shows modified, deleted, added - no untracked
1174 /// ```
1175 pub fn status_tracked(
1176 &self,
1177 working_copy: WorkingCopyId,
1178 ) -> Result<RepositoryStatus, RepositoryError> {
1179 self.status(working_copy, StatusOptions::tracked_only())
1180 }
1181
1182 /// Check if the working copy is clean (no modifications).
1183 pub fn is_working_copy_clean(

Callers

nothing calls this directly

Calls 1

statusMethod · 0.45

Tested by

no test coverage detected