private Repository createClone() { // TODO: repository shall be created here instead of getting the context's, whish shall not // exist return repository(); }
@Override public boolean apply(RefDiff r) { return r.getType() != REMOVED_REF; }};
@Override public Ref apply(RefDiff cr) { return cr.getNewRef(); }};
@Override public Optional<Remote> get() { return call(); } }
public boolean isDelete() { return getType() == Type.REMOVED_REF; }
private Repository createClone() { // TODO: repository shall be created here instead of getting the context's, whish shall not // exist return repository(); }
public boolean isNew() { return getType() == Type.ADDED_REF; }
public boolean isUpdate() { return getType() == Type.CHANGED_REF; }