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

Method mark_unfixable

src/instance.rs:257–260  ·  view source on GitHub ↗

Mark this instance as a mismatch which can't be auto-fixed without user input

(&self, state: UnfixableInstance)

Source from the content-addressed store, hash-verified

255 /// Mark this instance as a mismatch which can't be auto-fixed without user
256 /// input
257 pub fn mark_unfixable(&self, state: UnfixableInstance) -> &Self {
258 let specifier = Rc::clone(&self.descriptor.specifier);
259 self.set_state(InstanceState::Invalid(InvalidInstance::Unfixable(state)), &specifier)
260 }
261
262 pub fn is_valid(&self) -> bool {
263 self.state.borrow().is_valid()

Callers 4

visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80

Calls 1

set_stateMethod · 0.80

Tested by

no test coverage detected