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-unixfs
Commits
c07578d6
Commit
c07578d6
authored
Sep 16, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(util) rm unused DatastoreKey method
parent
03ffdbff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
util/util.go
util/util.go
+0
-5
No files found.
util/util.go
View file @
c07578d6
...
...
@@ -8,7 +8,6 @@ import (
"path/filepath"
"strings"
ds
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/datastore.go"
b58
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-base58"
mh
"github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multihash"
)
...
...
@@ -32,10 +31,6 @@ var ErrNotFound = errors.New("Error: Not Found.")
// Key is a string representation of multihash for use with maps.
type
Key
string
func
(
k
Key
)
DatastoreKey
()
ds
.
Key
{
return
ds
.
NewKey
(
string
(
k
))
}
func
(
k
Key
)
Pretty
()
string
{
return
b58
.
Encode
([]
byte
(
k
))
}
...
...
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