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
interface-go-dms3-core
Commits
848f1236
Commit
848f1236
authored
Mar 10, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coreapi: move unixfs errors to the top
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
4597fde8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
interface.go
interface.go
+3
-3
No files found.
interface.go
View file @
848f1236
...
...
@@ -14,6 +14,9 @@ import (
ipld
"gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format"
)
var
ErrIsDir
=
errors
.
New
(
"object is a directory"
)
var
ErrOffline
=
errors
.
New
(
"can't resolve, ipfs node is offline"
)
// Path is a generic wrapper for paths used in the API. A path can be resolved
// to a CID using one of Resolve functions in the API.
type
Path
interface
{
...
...
@@ -384,6 +387,3 @@ type PinAPI interface {
// Verify verifies the integrity of pinned objects
Verify
(
context
.
Context
)
(
<-
chan
PinStatus
,
error
)
}
var
ErrIsDir
=
errors
.
New
(
"object is a directory"
)
var
ErrOffline
=
errors
.
New
(
"can't resolve, ipfs node is offline"
)
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