Skip to content

Commit

Permalink
Merge pull request #62 from ipfs/ignore-end-of-dag-staticcheck
Browse files Browse the repository at this point in the history
ignore statticheck error for EndOfDag
  • Loading branch information
marten-seemann committed May 16, 2021
2 parents a49504d + b9cca7f commit 92cedbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions walker.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ var errUpOnRoot = errors.New("can't go up, already on root")

// EndOfDag wraps the `errUpOnRoot` and signals to the user that the
// entire DAG has been iterated.
//lint:ignore ST1012 // This is roughly equivalent to io.EOF.
var EndOfDag = errors.New("end of DAG")

// ErrNextNoChild signals the end of this parent child nodes.
Expand Down

0 comments on commit 92cedbf

Please sign in to comment.