Skip to main content

Module discard

Module discard 

Source
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§

DiscardArgs

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_running takes String (not &str) so its returned future is 'static – avoids the HRTB friction with FnOnce(&str) -> impl Future.