diff options
| author | 2026-03-06 18:38:44 +0800 | |
|---|---|---|
| committer | 2026-03-06 18:58:30 +0800 | |
| commit | f2922155de01b734e3e8b3f50be8f263ec13cacd (patch) | |
| tree | 6dcfcf5689e63eea09314dce543e1de26cab89fe /reachability/ancestor.go | |
| parent | internal/compress: Format (diff) | |
| signature | No signature | |
*: Lint v0.1.68
Diffstat (limited to 'reachability/ancestor.go')
| -rw-r--r-- | reachability/ancestor.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reachability/ancestor.go b/reachability/ancestor.go index 98a2c080..211aed01 100644 --- a/reachability/ancestor.go +++ b/reachability/ancestor.go @@ -57,7 +57,7 @@ func (r *Reachability) isAncestorGraph(ancestor, descendant objectid.ObjectID) ( ancestorPos, err := r.graph.Lookup(ancestor) if err != nil { - var notFound *commitgraphread.ErrNotFound + var notFound *commitgraphread.NotFoundError if errors.As(err, ¬Found) { return false, false, nil } @@ -67,7 +67,7 @@ func (r *Reachability) isAncestorGraph(ancestor, descendant objectid.ObjectID) ( descendantPos, err := r.graph.Lookup(descendant) if err != nil { - var notFound *commitgraphread.ErrNotFound + var notFound *commitgraphread.NotFoundError if errors.As(err, ¬Found) { return false, false, nil } |
