Skip to main content

fetch

Function fetch 

Source
pub fn fetch(
    manifest_path: &Path,
    force: bool,
) -> Result<FetchSummary, Vec<String>>
Expand description

Populates the manifest’s cache directory (guicons_net::cache_dir) for every iconify/url entry and records their sha256 in icons.lock.

A download or cached copy that differs from the lock fails that icon; force re-downloads everything and re-locks it to what came back.