Documentation ¶ Index ¶ func ToCID(l ipld.Link) (cid.Cid, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ToCID ¶ func ToCID(l ipld.Link) (cid.Cid, error) ToCID converts an ipld.Link to a cid.Cid. It'll type assert the link to a cidlink.Link first, and if that fails it'll attempt to parse the string representation of the link as a CID. Types ¶ This section is empty. Source Files ¶ View all Source files cids.go Click to show internal directories. Click to hide internal directories.