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-dms3
Commits
57687207
Commit
57687207
authored
Feb 06, 2018
by
Hector Sanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unixfs/mod: use errors.New() for all defined errors
License: MIT Signed-off-by:
Hector Sanjuan
<
hector@protocol.ai
>
parent
79baf42e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
unixfs/mod/dagmodifier.go
unixfs/mod/dagmodifier.go
+1
-2
No files found.
unixfs/mod/dagmodifier.go
View file @
57687207
...
...
@@ -6,7 +6,6 @@ import (
"bytes"
"context"
"errors"
"fmt"
"io"
chunk
"github.com/ipfs/go-ipfs/importer/chunk"
...
...
@@ -25,7 +24,7 @@ import (
var
(
ErrSeekFail
=
errors
.
New
(
"failed to seek properly"
)
ErrUnrecognizedWhence
=
errors
.
New
(
"unrecognized whence"
)
ErrNotUnixfs =
fmt.Errorf
("dagmodifier only supports unixfs nodes (proto or raw)")
ErrNotUnixfs
=
errors
.
New
(
"dagmodifier only supports unixfs nodes (proto or raw)"
)
)
// 2MB
...
...
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