Expand description
outrig discard – delete a session’s on-disk record.
Refuses if the session’s container is still running (would race the
outrig run writer). The running-check is closure-injected so tests can
drive both branches without a podman dependency.
Structs§
Functions§
- execute
- execute_
with - Inner form: every effect is injected so the test suite can drive both
the “container running” and “user typed n” branches deterministically.
is_runningtakesString(not&str) so its returned future is'static– avoids the HRTB friction withFnOnce(&str) -> impl Future.