Skip to main content

repository_files

Function repository_files 

Source
pub fn repository_files(root: &Path) -> Result<Vec<PathBuf>, Error>
Expand description

Discover regular files below a repository root in stable path order.

Hidden and Git-ignored entries are omitted while local and parent ignore files are honored without consulting user-specific global excludes.

ยงErrors

Returns an error when the root or any traversed entry cannot be read.