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

Function register_shell_session_mode

src/runner_mode.rs:19–21  ·  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

17
18/// Register the active runner mode(s) for the current shell session.
19pub(crate) fn register_shell_session_mode(modes: &[RunnerMode]) -> Result<()> {
20 shell_session_store::register(SessionKind::Mode, &modes.to_vec())
21}
22
23/// Load the active runner mode(s) for the current shell session, or
24/// an empty vector if none has been set.

Callers 1

runFunction · 0.85

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected