Skip to main content

write_local_file

Function write_local_file 

Source
pub(super) fn write_local_file(
    home: &Path,
    cmd: &CommandWriteEditorFileData,
) -> Result<(), String>
Expand description

Writes restricted to under the user’s home directory: an allowlist, safer than an incomplete denylist.