Skip to content

Commit

Permalink
[#103] Implement removeLocal method
Browse files Browse the repository at this point in the history
Fixes #103
  • Loading branch information
ruspl-afed committed Jan 8, 2025
1 parent cb302e6 commit 0fdef18
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1039,8 +1039,17 @@ public void copyRemote(SVNEntryRevisionReference[] srcPaths, String destPath, St

@Override
public void removeLocal(String[] path, long options, ISVNProgressMonitor monitor) throws SVNConnectorException {
System.out.println("SvnKit1_10Connector.removeLocal()");
//TODO
Map<String, Object> parameters = new HashMap<>();
parameters.put("path", path);
parameters.put("options", Long.valueOf(options));
parameters.put("monitor", monitor);
watch.commandLong(ISVNCallListener.REMOVE_LOCAL, parameters, callback(monitor), p -> client.remove(//
new HashSet<>(Arrays.asList(path)), //
(options & Options.FORCE) != 0, //
(options & Options.KEEP_LOCAL) != 0, //
null, //
null, //
null));
}

@SuppressWarnings("rawtypes")
Expand Down

0 comments on commit 0fdef18

Please sign in to comment.