示例#1
0
 @Override
 public void rm(RmRequest request) throws GitException {
   nativeGit
       .createRemoveCommand()
       .setCached(request.isCached())
       .setListOfItems(request.getItems())
       .setRecursively(request.isRecursively())
       .execute();
 }
 @Override
 public void rm(RmRequest request) throws GitException {
   ensureExistenceRepoRootInWorkingDirectory();
   nativeGit
       .createRemoveCommand()
       .setCached(request.isCached())
       .setListOfItems(request.getItems())
       .setRecursively(request.isRecursively())
       .execute();
 }