pub fn build_text_path<'r, 'name>(
name: &'name str,
content: impl AsRef<[u8]>,
references: impl IntoIterator<Item = StorePathRef<'r>> + 'r,
) -> Result<StorePathRef<'name>, ParseStorePathError>Expand description
This builds a store path, for a CAHash::Text type store path. If you don’t want to have to pass the entire contents, you might want to use build_text_path_from_content_digest instead.