MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / register_shell_session_mode

Function register_shell_session_mode

src/runner_mode.rs:34–36  ·  view source on GitHub ↗

Register the active runner mode(s) for the current shell session.

(modes: &[RunnerMode])

Source from the content-addressed store, hash-verified

32
33/// Register the active runner mode(s) for the current shell session.
34pub(crate) fn register_shell_session_mode(modes: &[RunnerMode]) -> Result<()> {
35 shell_session_store::register(SessionKind::Mode, &modes.to_vec())
36}
37
38/// Load the active runner mode(s) for the current shell session, or
39/// an empty vector if none has been set.

Callers 1

runFunction · 0.85

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected