MCPcopy Create free account
hub / github.com/eli-labz/Godcoder / write

Function write

crates/git-ops/src/checkpoint.rs:439–444  ·  view source on GitHub ↗
(path: &PathBuf, content: &str)

Source from the content-addressed store, hash-verified

437 }
438
439 fn write(path: &PathBuf, content: &str) {
440 if let Some(p) = path.parent() {
441 std::fs::create_dir_all(p).unwrap();
442 }
443 std::fs::write(path, content).unwrap();
444 }
445
446 fn read(path: &PathBuf) -> String {
447 std::fs::read_to_string(path).unwrap()

Callers 15

save_temp_fileFunction · 0.85
download_fileFunction · 0.85
externalize_imagesFunction · 0.85
ollama_import_ggufFunction · 0.85
test_blocked_extensionsFunction · 0.85
test_lock_filesFunction · 0.85

Calls

no outgoing calls