Commit bd644961 authored by Kevin Atkinson's avatar Kevin Atkinson

Documentation.

License: MIT
Signed-off-by: default avatarKevin Atkinson <k@kevina.org>
parent 6df3bd3b
......@@ -42,7 +42,10 @@ var v1CidPrefix = cid.Prefix{
Version: 1,
}
// V0CidPrefix returns a prefix for CIDv0
func V0CidPrefix() cid.Prefix { return v0CidPrefix }
// V1CidPrefix returns a prefix for CIDv1 with the default settings
func V1CidPrefix() cid.Prefix { return v1CidPrefix }
// PrefixForCidVersion returns the Protobuf prefix for a given CID version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment