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

Method mark_suspect

src/instance.rs:229–232  ·  view source on GitHub ↗

Mark this instance as having something which doesn't look quite right, but for the moment is not yet resulting in an issue

(&self, state: SuspectInstance)

Source from the content-addressed store, hash-verified

227 /// Mark this instance as having something which doesn't look quite right, but
228 /// for the moment is not yet resulting in an issue
229 pub fn mark_suspect(&self, state: SuspectInstance) -> &Self {
230 let specifier = Rc::clone(&self.descriptor.specifier);
231 self.set_state(InstanceState::Suspect(state), &specifier)
232 }
233
234 /// Like `mark_suspect` but records an expected specifier so a user can opt
235 /// into routing the instance through the fix path via `severity: { ...: "fix" }`.

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