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

Method status_options

atomic-cli/src/commands/restore.rs:188–193  ·  view source on GitHub ↗

Status options used by restore. Restore only ever touches *tracked* dirty files (Modified / Deleted / Added), so we skip the (potentially expensive) untracked-file scan.

()

Source from the content-addressed store, hash-verified

186 /// Restore only ever touches *tracked* dirty files (Modified / Deleted /
187 /// Added), so we skip the (potentially expensive) untracked-file scan.
188 fn status_options() -> StatusOptions {
189 StatusOptions {
190 include_untracked: false,
191 ..StatusOptions::default()
192 }
193 }
194
195 /// Get the files that need to be restored, paired with their status.
196 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected