Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeFileCID ¶
func ComputeFileCID(f io.ReadSeeker) (string, error)
copy pasted from https://github.com/AudiusProject/audius-protocol/blob/main/mediorum/cidutil/cidutil.go#L39
sadly we did not set up the cid builder correctly so our cids use 0x00 (raw identity) instead of 0x12 (SHA2_256) (see: https://github.com/multiformats/multihash)
we could fix this in the future, but we'll always have "0x00" cids around
func MaybeDecode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.