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

Function load_shell_session_mode

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

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

Callers 2

runFunction · 0.85
resolve_modesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected