pub fn collect(repo: &str, root: &Path) -> Result<Vec<SourceFile>, Error>
The text files git tracks at root’s HEAD; binaries, links and large files are skipped.
root