Skip to main content

build_walker_single_threaded

Function build_walker_single_threaded 

Source
pub fn build_walker_single_threaded(root: &Path) -> WalkBuilder
Expand description

Build a single-threaded WalkBuilder with the same defaults as build_default_walker.

Use this in synchronous contexts where spawning the ignore crate’s thread pool would be wasteful (e.g., inside spawn_blocking closures that already run on a dedicated thread).