Skip to content

Commit 51e88cd

Browse files
committed
fix: remove deprecation notes
1 parent fa2c2b6 commit 51e88cd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

merkledag.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ import (
1010
// ErrNotFound is used to signal when a Node could not be found. The specific
1111
// meaning will depend on the DAGService implementation, which may be trying
1212
// to read nodes locally but also, trying to find them remotely.
13-
//
14-
// Deprecated: use github.com/ipld/go-ipld-prime/storage#ErrNotFound instead.
1513
type ErrNotFound = storage.ErrNotFound
1614

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

0 commit comments

Comments
 (0)