Documentation ¶
Overview ¶
Package dshelp provides utilities for parsing and creating datastore keys used by go-ipfs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryFromDsKey ¶
BinaryFromDsKey returns the byte slice corresponding to the given Key.
func CidToDsKey ¶
CidToDsKey creates a Key from the given Cid.
func DsKeyToCid ¶
DsKeyToCid converts the given Key to its corresponding Cid.
func NewKeyFromBinary ¶
func NewKeyFromBinary(rawKey []byte) datastore.Key
NewKeyFromBinary creates a new key from a byte slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.