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
a10c4530
Unverified
Commit
a10c4530
authored
Feb 19, 2019
by
Steven Allen
Committed by
GitHub
Feb 19, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5 from ipfs/feat/not-supported-error
errors: introduce a 'not supported' error
parents
f583bd20
2fb429e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
.gx/lastpubver
.gx/lastpubver
+1
-1
errors.go
errors.go
+4
-3
package.json
package.json
+1
-1
No files found.
.gx/lastpubver
View file @
a10c4530
0.1.
6
: QmN
t8iUv3uJoVrJ3Ls4cgMLk124V4Bt1JxuUMWbjULt9ns
0.1.
7
: QmN
uVxikLRanHXwpw3sy58Vt5yMd4K5BRmWsUqYCctRRVE
errors.go
View file @
a10c4530
...
@@ -3,7 +3,8 @@ package iface
...
@@ -3,7 +3,8 @@ package iface
import
"errors"
import
"errors"
var
(
var
(
ErrIsDir
=
errors
.
New
(
"this dag node is a directory"
)
ErrIsDir
=
errors
.
New
(
"this dag node is a directory"
)
ErrNotFile
=
errors
.
New
(
"this dag node is not a regular file"
)
ErrNotFile
=
errors
.
New
(
"this dag node is not a regular file"
)
ErrOffline
=
errors
.
New
(
"this action must be run in online mode, try running 'ipfs daemon' first"
)
ErrOffline
=
errors
.
New
(
"this action must be run in online mode, try running 'ipfs daemon' first"
)
ErrNotSupported
=
errors
.
New
(
"operation not supported"
)
)
)
package.json
View file @
a10c4530
...
@@ -91,6 +91,6 @@
...
@@ -91,6 +91,6 @@
"license"
:
""
,
"license"
:
""
,
"name"
:
"interface-go-ipfs-core"
,
"name"
:
"interface-go-ipfs-core"
,
"releaseCmd"
:
"git commit -a -m
\"
gx publish $VERSION
\"
"
,
"releaseCmd"
:
"git commit -a -m
\"
gx publish $VERSION
\"
"
,
"version"
:
"0.1.
6
"
"version"
:
"0.1.
7
"
}
}
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