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