Skip to main content

Module walk

Module walk 

Source
Expand description

Shared directory walker helpers built on the ignore crate.

All file traversal in vtcode should go through these builders so that .gitignore, .ignore, .git/exclude, and the centralized exclusion constants are applied consistently.

Functionsยง

build_default_walker
Build a multi-threaded WalkBuilder with sensible defaults.
build_walker_single_threaded
Build a single-threaded WalkBuilder with the same defaults as build_default_walker.
is_excluded_dir
Returns true if entry is a directory whose name appears in DEFAULT_EXCLUDED_DIRS.