MCPcopy Create free account
hub / github.com/cortexkit/magic-context / write_config

Function write_config

packages/dashboard/src-tauri/src/config.rs:109–111  ·  view source on GitHub ↗
(path: &Path, content: &str)

Source from the content-addressed store, hash-verified

107}
108
109pub fn write_config(path: &Path, content: &str) -> Result<(), String> {
110 write_config_atomic(path, content, None)
111}
112
113pub fn write_project_config(project_path: &str, path: &Path, content: &str) -> Result<(), String> {
114 let canonical_project = Path::new(project_path)

Callers 3

write_pi_configFunction · 0.85
save_configFunction · 0.85
dispatchFunction · 0.85

Calls 1

write_config_atomicFunction · 0.85

Tested by

no test coverage detected