Function wnfs_unixfs_file::parse_links
source · pub fn parse_links(codec: Codec, bytes: &[u8]) -> Result<Vec<Cid>>
Expand description
Extract links from the given content.
Links will be returned as a sorted vec
pub fn parse_links(codec: Codec, bytes: &[u8]) -> Result<Vec<Cid>>
Extract links from the given content.
Links will be returned as a sorted vec