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

Method mark_fixable

src/instance.rs:243–245  ·  view source on GitHub ↗

Mark this instance as having a mismatch which can be auto-fixed

(&self, state: FixableInstance, expected_specifier: &Rc<Specifier>)

Source from the content-addressed store, hash-verified

241
242 /// Mark this instance as having a mismatch which can be auto-fixed
243 pub fn mark_fixable(&self, state: FixableInstance, expected_specifier: &Rc<Specifier>) -> &Self {
244 self.set_state(InstanceState::Invalid(InvalidInstance::Fixable(state)), expected_specifier)
245 }
246
247 /// Mark this instance as a mismatch which can't be auto-fixed, its semver
248 /// group and version group config are in conflict with one another, asking

Callers 11

make_instanceFunction · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80
visitMethod · 0.80

Calls 1

set_stateMethod · 0.80

Tested by 1

make_instanceFunction · 0.64