pub(super) fn write_local_file( home: &Path, cmd: &CommandWriteEditorFileData, ) -> Result<(), String>
Writes restricted to under the user’s home directory: an allowlist, safer than an incomplete denylist.