Skip to content

Commit

Permalink
fix: remove deprecation notes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Mar 29, 2023
1 parent fa2c2b6 commit 51e88cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions merkledag.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import (
// ErrNotFound is used to signal when a Node could not be found. The specific
// meaning will depend on the DAGService implementation, which may be trying
// to read nodes locally but also, trying to find them remotely.
//
// Deprecated: use github.com/ipld/go-ipld-prime/storage#ErrNotFound instead.
type ErrNotFound = storage.ErrNotFound

// IsNotFound returns true if the error is a ErrNotFound. As it uses a
Expand All @@ -25,8 +23,6 @@ type ErrNotFound = storage.ErrNotFound
// function provides a maximally compatible matching function that should be
// able to determine whether an ErrNotFound, either new or legacy, exists within
// a wrapped error chain.
//
// Deprecated: use github.com/ipld/go-ipld-prime/storage#IsNotFound instead.
func IsNotFound(err error) bool {
return storage.IsNotFound(err)
}
Expand Down

0 comments on commit 51e88cd

Please sign in to comment.