Skip to main content

fetch_small_asset

Function fetch_small_asset 

Source
pub async fn fetch_small_asset(
    provider: &dyn ReleaseProvider,
    asset: &ReleaseAsset,
) -> Result<Vec<u8>>
Expand description

Fully buffer an asset into memory. Returns the bytes. Used for signatures and checksum files, which are small.