MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / exec

Method exec

crates/update/src/cli/use.rs:10–12  ·  view source on GitHub ↗
(self, paths: &SpacetimePaths)

Source from the content-addressed store, hash-verified

8
9impl Use {
10 pub(super) fn exec(self, paths: &SpacetimePaths) -> anyhow::Result<()> {
11 paths.cli_bin_dir.set_current_version(&self.version.to_string())
12 }
13}

Callers

nothing calls this directly

Calls 2

set_current_versionMethod · 0.80
to_stringMethod · 0.45

Tested by

no test coverage detected