MCPcopy Create free account
hub / github.com/JamieMason/syncpack / mark_conflict

Method mark_conflict

src/instance.rs:250–253  ·  view source on GitHub ↗

Mark this instance as a mismatch which can't be auto-fixed, its semver group and version group config are in conflict with one another, asking for mutually exclusive versions

(&self, state: SemverGroupAndVersionConflict)

Source from the content-addressed store, hash-verified

248 /// group and version group config are in conflict with one another, asking
249 /// for mutually exclusive versions
250 pub fn mark_conflict(&self, state: SemverGroupAndVersionConflict) -> &Self {
251 let specifier = Rc::clone(&self.descriptor.specifier);
252 self.set_state(InstanceState::Invalid(InvalidInstance::Conflict(state)), &specifier)
253 }
254
255 /// Mark this instance as a mismatch which can't be auto-fixed without user
256 /// input

Callers 2

visitMethod · 0.80
visitMethod · 0.80

Calls 1

set_stateMethod · 0.80

Tested by

no test coverage detected