/** Pass through to the original {@link StagingArea}. */ @Override public DiffObjectCount countStaged(@Nullable List<String> pathFilters) { return index.countStaged(pathFilters); }
/** Pass through to the original {@link StagingArea}. */ @Override public void stage(ProgressListener progress, Iterator<DiffEntry> unstaged, long numChanges) { index.stage(progress, unstaged, numChanges); }
/** Pass through to the original {@link StagingArea}. */ @Override public Iterator<DiffEntry> getStaged(@Nullable List<String> pathFilters) { return index.getStaged(pathFilters); }
/** Pass through to the original {@link StagingArea}. */ @Override public Optional<Node> findStaged(String path) { return index.findStaged(path); }
/** Pass through to the original {@link StagingArea}. */ @Override public RevTree getTree() { return index.getTree(); }
/** Pass through to the original {@link StagingArea}. */ @Override public void updateStageHead(ObjectId newTree) { index.updateStageHead(newTree); }
/** * 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); }
@Override public boolean isClean() { return index.isClean(); }