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

Method current_version_dir

crates/paths/src/cli.rs:40–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

38
39 pub const CURRENT_VERSION_DIR_NAME: &str = "current";
40 pub fn current_version_dir(&self) -> VersionBinDir {
41 VersionBinDir(self.0.join(Self::CURRENT_VERSION_DIR_NAME))
42 }
43
44 pub fn set_current_version(&self, version: &str) -> anyhow::Result<()> {
45 self.current_version_dir().link_to(self.version_dir(version).as_ref())

Callers 3

set_current_versionMethod · 0.80
current_versionMethod · 0.80
run_cliFunction · 0.80

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected