MCPcopy Create free account
hub / github.com/codename-co/stack / stack_start

Function stack_start

packages/app/src-tauri/src/lib.rs:30–37  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

28
29#[tauri::command]
30fn stack_start(path: &str) -> String {
31 let path_owned = path.to_string();
32 tauri::async_runtime::spawn(async move {
33 cli::run(&path_owned).await;
34 });
35 // format!("{:?}", result)
36 format!("Running {} asynchronously", path)
37}
38
39// #[tauri::command]
40// fn mouse_over() -> Result<(), String> {

Callers 1

load_stacksFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected