Skip to main content

save_script_file

Function save_script_file 

Source
pub fn save_script_file(text: &str, filename: &str) -> String
Expand description

_save_script_file(text, filename): write under scripts/{slug}/ when that directory exists, else scripts/. Never overwrites.