Skip to main content

find_by_sha

Function find_by_sha 

Source
pub fn find_by_sha(
    conn: &Connection,
    sha256: &str,
    limit: i64,
) -> Result<Vec<SnapMeta>, String>
Expand description

Snapshots whose content has this hash, newest first. This is how a hub says “the file on that host is the one rendered on 3 October”.