MCPcopy Create free account
hub / github.com/AI45Lab/Code / mark_status

Method mark_status

core/src/planning/mod.rs:265–269  ·  view source on GitHub ↗

Update the status of a step by ID

(&mut self, step_id: &str, status: TaskStatus)

Source from the content-addressed store, hash-verified

263
264 /// Update the status of a step by ID
265 pub fn mark_status(&mut self, step_id: &str, status: TaskStatus) {
266 if let Some(step) = self.steps.iter_mut().find(|s| s.id == step_id) {
267 step.status = status;
268 }
269 }
270
271 /// Count remaining Pending steps
272 pub fn pending_count(&self) -> usize {

Callers 5

test_mark_statusFunction · 0.80
test_pending_countFunction · 0.80
test_has_deadlockFunction · 0.80
execute_planMethod · 0.80

Calls

no outgoing calls

Tested by 4

test_mark_statusFunction · 0.64
test_pending_countFunction · 0.64
test_has_deadlockFunction · 0.64