Пример #1
0
 @Override
 public void rm(RmRequest request) throws GitException {
   nativeGit
       .createRemoveCommand()
       .setCached(request.isCached())
       .setListOfItems(request.getItems())
       .setRecursively(request.isRecursively())
       .execute();
 }
Пример #2
0
 @Override
 public void rm(RmRequest request) throws GitException {
   ensureExistenceRepoRootInWorkingDirectory();
   nativeGit
       .createRemoveCommand()
       .setCached(request.isCached())
       .setListOfItems(request.getItems())
       .setRecursively(request.isRecursively())
       .execute();
 }