Documentation ¶
Index ¶
Constants ¶
const FormatRef = `` /* 706-byte string literal not displayed */
FormatRef is a string documenting the format string for the Format function
Variables ¶
This section is empty.
Functions ¶
func Format ¶
Format formats a cid according to the format specificer as documented in the FormatRef constant
func ScanForCid ¶
ScanForCid scans bytes for anything resembling a CID. If one is found `i` will point to the begging of the cid and `j` to to the end and the cid will be returned, otherwise `i` and `j` will point the end of the buffer and the cid will be `Undef`.
Types ¶
type FormatStringError ¶
FormatStringError is the error return from Format when the format string is ill formed
func (FormatStringError) Error ¶
func (e FormatStringError) Error() string
type InlineBuilder ¶
InlineBuilder is a cid.Builder that will use the id multihash when the size of the content is no more than limit
type StreamingSet ¶
StreamingSet is an extension of Set which allows to implement back-pressure for the Visit function
func NewStreamingSet ¶
func NewStreamingSet() *StreamingSet
NewStreamingSet initializes and returns new Set.