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

Function module_path

crates/testing/src/modules.rs:52–55  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

50}
51
52pub(crate) fn module_path(name: &str) -> PathBuf {
53 let root = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"));
54 root.join("../../modules").join(name)
55}
56
57pub struct ModuleHandle {
58 // Keep the in-process standalone env alive for the lifetime of module.

Callers 1

compileMethod · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…