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

Function init_empty_rust_server

crates/cli/src/subcommands/init.rs:1507–1511  ·  view source on GitHub ↗
(server_dir: &Path, project_name: &str)

Source from the content-addressed store, hash-verified

1505}
1506
1507fn init_empty_rust_server(server_dir: &Path, project_name: &str) -> anyhow::Result<()> {
1508 init_rust_project(server_dir)?;
1509 update_cargo_toml_name(server_dir, project_name)?;
1510 Ok(())
1511}
1512
1513fn init_empty_csharp_server(server_dir: &Path, _project_name: &str) -> anyhow::Result<()> {
1514 init_csharp_project(server_dir)

Callers 1

init_emptyFunction · 0.85

Calls 3

init_rust_projectFunction · 0.85
update_cargo_toml_nameFunction · 0.85
OkFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…