Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
ee3be129
Commit
ee3be129
authored
Sep 26, 2014
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set util.ErrNotFound = ds.ErrNotFound
parent
c1219303
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
util/util.go
util/util.go
+2
-1
No files found.
util/util.go
View file @
ee3be129
...
...
@@ -8,6 +8,7 @@ import (
"path/filepath"
"strings"
ds
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go"
b58
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58"
mh
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multihash"
)
...
...
@@ -26,7 +27,7 @@ var ErrTimeout = errors.New("Error: Call timed out.")
var
ErrSearchIncomplete
=
errors
.
New
(
"Error: Search Incomplete."
)
// ErrNotFound is returned when a search fails to find anything
var
ErrNotFound
=
errors
.
New
(
"Error:
Not
Found
."
)
var
ErrNotFound
=
ds
.
Err
NotFound
// Key is a string representation of multihash for use with maps.
type
Key
string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment