MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / is_beta

Function is_beta

src/cloud.rs:237–239  ·  view source on GitHub ↗

Returns true if the current build is a beta/prerelease version.

()

Source from the content-addressed store, hash-verified

235
236/// Returns true if the current build is a beta/prerelease version.
237pub fn is_beta() -> bool {
238 env!("CARGO_PKG_VERSION").contains('-')
239}
240
241/// Returns true if `latest` is strictly newer than `current` using semver comparison.
242/// Handles pre-release suffixes (e.g. "2.5.0-beta.1") by stripping them for the

Callers 6

fetch_latest_versionFunction · 0.85
run_upgradeFunction · 0.85
show_channelFunction · 0.85
switch_channelFunction · 0.85
is_beta_returns_boolFunction · 0.85

Calls 1

containsMethod · 0.45