pub fn ls_files(root: &Path, pathspec: &str) -> Result<Vec<String>, Error>
Tracked files under root matching one pathspec, repository-relative, in the byte order the index keeps them in. The pathspec is passed to git verbatim.
root