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

Method is_partial

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

Check if this is a partial restore (specific files, not the whole copy).

(&self)

Source from the content-addressed store, hash-verified

155
156 /// Check if this is a partial restore (specific files, not the whole copy).
157 pub fn is_partial(&self) -> bool {
158 !self.files.is_empty()
159 }
160
161 /// Whether this invocation must be blocked until `--force` is supplied.
162 ///

Callers 2

requires_forceMethod · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected