MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / set_run_stopped

Method set_run_stopped

vulnerabilities/models.py:2181–2183  ·  view source on GitHub ↗

Set the execution as `stopped` using a special 99 exitcode value.

(self)

Source from the content-addressed store, hash-verified

2179 self.set_run_ended(exitcode=88)
2180
2181 def set_run_stopped(self):
2182 """Set the execution as `stopped` using a special 99 exitcode value."""
2183 self.set_run_ended(exitcode=99)
2184
2185 def reset_run(self):
2186 """Reset the run-related fields."""

Callers 1

stop_runMethod · 0.95

Calls 1

set_run_endedMethod · 0.95

Tested by

no test coverage detected