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

Method to_possible_value

src/cli/run/mod.rs:263–269  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

261 &[Self::GitLab, Self::GitHub]
262 }
263 fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue> {
264 match self {
265 Self::GitLab => Some(clap::builder::PossibleValue::new("gitlab").aliases(["gl"])),
266 Self::GitHub => Some(clap::builder::PossibleValue::new("github").aliases(["gh"])),
267 Self::Project => None,
268 }
269 }
270}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected