pub async fn scan<S: BuildHasher>(
cwd: &Path,
env: &HashMap<String, String, S>,
prev: Option<&GitDiffSnapshot>,
) -> GitDiffSnapshotExpand 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.