Skip to main content

ls_files

Function ls_files 

Source
pub fn ls_files(root: &Path, pathspec: &str) -> Result<Vec<String>, Error>
Expand description

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.