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

Method is_local

src/executor/orchestrator.rs:29–31  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

27
28impl Orchestrator {
29 pub fn is_local(&self) -> bool {
30 self.provider.get_run_environment() == RunEnvironment::Local
31 }
32
33 pub async fn new(config: OrchestratorConfig, api_client: &CodSpeedAPIClient) -> Result<Self> {
34 let provider = run_environment::get_provider(&config, api_client).await?;

Callers 3

execute_configFunction · 0.80
runFunction · 0.80
upload_and_pollMethod · 0.80

Calls 1

get_run_environmentMethod · 0.45

Tested by

no test coverage detected