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

Method start_command_display

src/run_environment/interfaces.rs:57–65  ·  view source on GitHub ↗

Start the live display of a command's output, titled `label`. This only affects the on-screen rendering: the raw output is always persisted to the runner log file. Returning `None` displays the output verbatim, which is what CI job logs expect.

(&self, label: &str)

Source from the content-addressed store, hash-verified

55 /// persisted to the runner log file. Returning `None` displays the output
56 /// verbatim, which is what CI job logs expect.
57 pub fn start_command_display(&self, label: &str) -> Option<RollingBufferGuard> {
58 match self {
59 RunEnvironment::Local => RollingBufferGuard::activate(label),
60 RunEnvironment::GithubActions
61 | RunEnvironment::GitlabCi
62 | RunEnvironment::Buildkite
63 | RunEnvironment::Circleci => None,
64 }
65 }
66}
67
68/// Authentication documentation, defined once so the messages that quote these

Callers 2

run_executorFunction · 0.80
build_and_installFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected