use of org.locationtech.geogig.storage.GraphDatabase.GraphNode in project GeoGig by boundlessgeo.
the class CheckSparsePath method _call.
/**
* Determines if there are any sparse commits between the start commit and the end commit, not
* including the end commit.
*
* @return true if there are any sparse commits between start and end
*/
@Override
protected Boolean _call() {
Preconditions.checkState(start != null, "start commit has not been set.");
Preconditions.checkState(end != null, "end commit has not been set.");
GraphNode node = graphDb.getNode(start);
return isSparsePath(node, end, false);
}
Aggregations