pub(super) fn delete_file( home: &Path, cmd: &DeleteEditorFileReq, ) -> Result<(), String>
Deletes a file or directory.