Skip to main content

exposed_by_sha

Function exposed_by_sha 

Source
pub fn exposed_by_sha(
    conn: &Connection,
    sha256: &str,
) -> Result<Option<Vec<Exposed>>, String>
Expand description

What the files with this hash contained: the union over every snapshot that recorded it (the same text can be recorded again after a revert), or None when no snapshot has it, so a caller can tell “nothing exposed” from “unknown”.