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

Function load_shell_session_mode

src/runner_mode.rs:40–42  ·  view source on GitHub ↗

Load the active runner mode(s) for the current shell session, or an empty vector if none has been set.

()

Source from the content-addressed store, hash-verified

38/// Load the active runner mode(s) for the current shell session, or
39/// an empty vector if none has been set.
40pub(crate) fn load_shell_session_mode() -> Result<Vec<RunnerMode>> {
41 Ok(shell_session_store::load::<Vec<RunnerMode>>(SessionKind::Mode)?.unwrap_or_default())
42}

Callers 2

runFunction · 0.85
resolve_modesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected