private void revertDeletion(VirtualFile parent, @NotNull Entry e) throws IOException {
    VirtualFile f = myGateway.findOrCreateFileSafely(parent, e.getName(), e.isDirectory());
    if (e.isDirectory()) {
      for (Entry child : e.getChildren()) revertDeletion(f, child);
    }
    else {
      registerDelayedContentApply(f, e.getContent());
      registerDelayedROStatusApply(f, e.isReadOnly());
    }
  }
private void revertDeletion(VirtualFile parent, @NotNull Entry e)