Skip to main content

walk_files

Function walk_files 

Source
pub fn walk_files(ctx: &GateCtx) -> Vec<Utf8PathBuf>
Expand description

Walk the repository and yield every file as a ./-prefixed repository-relative path in sorted order.

The walk prunes PRUNED_DIRS and honours the repository’s committed .gitignore. It honours no machine-local ignore source: .git/info/exclude, the user’s global excludes file, and ignore files above the repository root are all disabled, because a gate whose answer depends on whose checkout it runs in is not a gate.