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

Method is_local

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

Source from the content-addressed store, hash-verified

32
33impl Orchestrator {
34 pub fn is_local(&self) -> bool {
35 self.provider.get_run_environment() == RunEnvironment::Local
36 }
37
38 pub async fn new(config: OrchestratorConfig, api_client: &CodSpeedAPIClient) -> Result<Self> {
39 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