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

Function parse_version

src/cli/shared.rs:278–280  ·  view source on GitHub ↗

Parser for go-runner version that validates semver format

(s: &str)

Source from the content-addressed store, hash-verified

276
277/// Parser for go-runner version that validates semver format
278fn parse_version(s: &str) -> Result<semver::Version, String> {
279 semver::Version::parse(s).map_err(|e| format!("Invalid semantic version: {e}"))
280}
281
282const FRAME_POINTER_UNWINDING: &str = "fp";
283const DWARF_UNWINDING: &str = "dwarf";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected