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

Function register_shell_session_profile

src/config.rs:15–17  ·  view source on GitHub ↗

Persist `profile_name` as the active profile for the current shell session.

(profile_name: &str)

Source from the content-addressed store, hash-verified

13
14/// Persist `profile_name` as the active profile for the current shell session.
15pub fn register_shell_session_profile(profile_name: &str) -> Result<()> {
16 shell_session_store::register(SessionKind::Profile, &profile_name.to_owned())
17}
18
19/// Look up the active profile for the current shell session, if any.
20pub fn load_shell_session_profile() -> Result<Option<String>> {

Callers 1

use_profileFunction · 0.85

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected