Skip to main content

write_auth_file

Function write_auth_file 

Source
pub fn write_auth_file(path: &Path, data: &[u8]) -> Result<(), String>
Expand description

os.WriteFile(path, data, 0o600): the error is Go’s *PathError text for the step that failed (open, write, then close).