code: private void delete(DirectoryEntry entry, DeleteMode deleteMode, JimfsPath pathForException)
        throws IOException {
      Directory parent = entry.directory();
      File file = entry.file();
  
      checkDeletable(file, deleteMode, pathForException);
      parent.unlink(entry.name());
      parent.updateModifiedTime();
  
      file.deleted();
    }
docs: Deletes the given directory entry from its parent directory.