提交 e37b252c 作者: Steven Allen

coreapi: fix errisdir

JavaScript expects this to be "this dag node is a directory". I'm almost of a
mind to say "don't parse errors" but, well, we don't give any better
alternatives.

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 8543e27e
......@@ -3,6 +3,6 @@ package iface
import "errors"
var (
ErrIsDir = errors.New("object is a directory")
ErrIsDir = errors.New("this dag node is a directory")
ErrOffline = errors.New("this action must be run in online mode, try running 'ipfs daemon' first")
)
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论