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

Function workspace_dir

tools/regen/src/csharp.rs:12–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const RUNTIME_PACKAGE_ID: &str = "spacetimedb.runtime";
11
12fn workspace_dir() -> PathBuf {
13 Path::new(env!("CARGO_MANIFEST_DIR"))
14 .ancestors()
15 .nth(2)
16 .expect("tools/regen should be two levels below the workspace root")
17 .to_path_buf()
18}
19
20fn sdk_dir() -> PathBuf {
21 workspace_dir().join("sdks/csharp")

Callers 2

sdk_dirFunction · 0.85
regen_dllsFunction · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…