@cryptotaxi247 / kubo / commits / cf8fb87df

refactor(errors) debugerror -> errors

License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Brian Tiger Chow committed Nov 16, 2014 at 10:37 UTC cf8fb87df13af045108e458ef39cfe246d1b8de0
4 files changed +5 -5
cmd/ipfs2/init.go
+1 -1
@@ -16,7 +16,7 @@ import (
16 chunk "github.com/jbenet/go-ipfs/importer/chunk"
17 peer "github.com/jbenet/go-ipfs/peer"
18 u "github.com/jbenet/go-ipfs/util"
19 - errors "github.com/jbenet/go-ipfs/util/debugerror"
19 + errors "github.com/jbenet/go-ipfs/util/errors"
20 )
21
22 var initCmd = &cmds.Command{
cmd/ipfs2/main.go
+1 -1
@@ -21,7 +21,7 @@ import (
21 daemon "github.com/jbenet/go-ipfs/daemon2"
22 updates "github.com/jbenet/go-ipfs/updates"
23 u "github.com/jbenet/go-ipfs/util"
24 - errors "github.com/jbenet/go-ipfs/util/debugerror"
24 + errors "github.com/jbenet/go-ipfs/util/errors"
25 eventlog "github.com/jbenet/go-ipfs/util/eventlog"
26 )
27
config/config.go
+1 -1
@@ -9,7 +9,7 @@ import (
9 "path/filepath"
10
11 u "github.com/jbenet/go-ipfs/util"
12 - errors "github.com/jbenet/go-ipfs/util/debugerror"
12 + errors "github.com/jbenet/go-ipfs/util/errors"
13 )
14
15 var log = u.Logger("config")
util/errors/debug.go renamed
+2 -2
@@ -1,6 +1,6 @@
1 -// package debugerror provides a way to augment errors with additional
1 +// package errors provides ways to augment errors with additional
2 // information to allow for easier debugging.
3 -package debugerror
3 +package errors
4
5 import (
6 "errors"