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

Method empty

atomic-repository/src/repository/conflict_object.rs:224–229  ·  view source on GitHub ↗

An empty conflict set (no files).

()

Source from the content-addressed store, hash-verified

222impl ConflictSetObject {
223 /// An empty conflict set (no files).
224 pub fn empty() -> Self {
225 Self {
226 version: CONFLICT_SET_VERSION,
227 files: Vec::new(),
228 }
229 }
230
231 /// Whether any conflict is recorded.
232 pub fn is_empty(&self) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected