Пример #1
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public DiffObjectCount countStaged(@Nullable List<String> pathFilters) {
   return index.countStaged(pathFilters);
 }
Пример #2
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public void stage(ProgressListener progress, Iterator<DiffEntry> unstaged, long numChanges) {
   index.stage(progress, unstaged, numChanges);
 }
Пример #3
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public Iterator<DiffEntry> getStaged(@Nullable List<String> pathFilters) {
   return index.getStaged(pathFilters);
 }
Пример #4
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public Optional<Node> findStaged(String path) {
   return index.findStaged(path);
 }
Пример #5
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public RevTree getTree() {
   return index.getTree();
 }
Пример #6
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public void updateStageHead(ObjectId newTree) {
   index.updateStageHead(newTree);
 }
Пример #7
0
 /**
  * Constructs a new {@code TransactionStagingArea}.
  *
  * @param index the repository index
  * @param transactionId the transaction id
  */
 public TransactionStagingArea(final StagingArea index, final UUID transactionId) {
   this.index = index;
   conflictsDb = new TransactionConflictsDatabase(index.conflictsDatabase(), transactionId);
 }
Пример #8
0
 @Override
 public boolean isClean() {
   return index.isClean();
 }