MCPcopy Create free account
hub / github.com/clawshell/clawshell / current

Method current

src/migration/core.rs:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12impl ConfigVersion {
13 pub fn current() -> Self {
14 // Safe: package version is required by Cargo and validated at compile time.
15 env!("CARGO_PKG_VERSION")
16 .parse()
17 .expect("CARGO_PKG_VERSION must be a semantic version")
18 }
19
20 pub fn legacy_baseline() -> Self {
21 LEGACY_BASELINE_VERSION

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected