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

Function load_stack_manifest

packages/app/src-tauri/src/cli.rs:349–359  ·  view source on GitHub ↗
(config_path: &Path)

Source from the content-addressed store, hash-verified

347// }
348
349fn load_stack_manifest(config_path: &Path) -> serde_yaml::Value {
350 if config_path.exists() {
351 let config_file = File::open(config_path).expect("Failed to open config file");
352 let config: serde_yaml::Value =
353 serde_yaml::from_reader(config_file).expect("Failed to parse config file");
354 return config;
355 } else {
356 error!("No stack configuration file found in: {:?}", config_path);
357 }
358 serde_yaml::Value::Null
359}
360
361/// Inspects a software stack from a stack bundle.
362///

Callers 2

runFunction · 0.85
run_with_callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected