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

Method is_partial

atomic-cli/src/commands/restore.rs:153–155  ·  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

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

Callers 2

requires_forceMethod · 0.80

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected