Categorygithub.com/ipfs/go-cidutil
modulepackage
0.1.0
Repository: https://github.com/ipfs/go-cidutil.git
Documentation: pkg.go.dev

# README

go-cidutil

standard-readme compliant GoDoc Build Status

go-cidutil implements various utilities and helper functions for working with CIDs

Lead Maintainer

Steven Allen

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © Protocol Labs, Inc.

# Packages

No description provided by the author
No description provided by the author

# Functions

Format formats a cid according to the format specificer as documented in the FormatRef constant.
No description provided by the author
NewStreamingSet initializes and returns new Set.
ScanForCid scans bytes for anything resembling a CID.
Sort sorts a slice of CIDs.

# Constants

FormatRef is a string documenting the format string for the Format function.

# Structs

FormatStringError is the error return from Format when the format string is ill formed.
InlineBuilder is a cid.Builder that will use the id multihash when the size of the content is no more than limit.
StreamingSet is an extension of Set which allows to implement back-pressure for the Visit function.

# Type aliases

No description provided by the author
Slice is a convenience type for sorting CIDs.