pub async fn fetch_git(raw: &str, git_ref: &str) -> Result<Scan, String>Expand description
Shallow-clone an HTTPS git repository into a scratch folder, scan it, delete the folder. The clone runs with every protocol but https switched off, never asks for a password, and is stopped when it runs past the time or size limit.