Skip to main content

scan

Function scan 

Source
pub async fn scan<S>(
    cwd: &Path,
    env: &HashMap<String, String, S>,
    prev: Option<&GitDiffSnapshot>,
) -> GitDiffSnapshot
where S: BuildHasher,
Expand description

env is cwd’s project’s own declared environment, carried as the identity of every gh call the scan makes, so the PR row reads as the project rather than as the server’s ambient login.