pub fn walker(&self, directory: impl Into<PathBuf>) -> GlobWalker {
        GlobWalker {
            anchor: self.anchor(directory),
            program: WalkProgram::from_glob(self),
        }
    }
Gets an iterator builder over matching files in a directory tree.

This function gets an intermediate walker that describes iteration over
matching files and provides paths prior to iteration. In particular,
`walker` can be used when the root directory of the walk is needed.
**The root directory may differ from the directory passed to walking
functions.**

See [`Glob::walk`].

# Examples

```rust,no_run
use wax::walk::Entry;
use wax::Glob;

let glob = Glob::new("**/*.{log,txt}").unwrap();
let walker = glob.walker("/var/log");
let root = walker.root_prefix_paths().0.to_path_buf();
for entry in walker.walk() {
let entry = entry.unwrap();
println!("Log: {:?}", entry.path());
}
```

[`Glob::walk`]: crate::Glob::walk
crates/turborepo-wax/src/walk/glob.rs