forc_pkg::source

Function fetch_id

Source
pub fn fetch_id(path: &Path, timestamp: Instant) -> u64
Expand description

Produce a unique ID for a particular fetch pass.

This is used in the temporary git directory and allows for avoiding contention over the git repo directory.