Esempio n. 1
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public DiffObjectCount countStaged(@Nullable List<String> pathFilters) {
   return index.countStaged(pathFilters);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public Iterator<DiffEntry> getStaged(@Nullable List<String> pathFilters) {
   return index.getStaged(pathFilters);
 }
Esempio n. 4
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public Optional<Node> findStaged(String path) {
   return index.findStaged(path);
 }
Esempio n. 5
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public RevTree getTree() {
   return index.getTree();
 }
Esempio n. 6
0
 /** Pass through to the original {@link StagingArea}. */
 @Override
 public void updateStageHead(ObjectId newTree) {
   index.updateStageHead(newTree);
 }
Esempio n. 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);
 }
Esempio n. 8
0
 @Override
 public boolean isClean() {
   return index.isClean();
 }