-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wip] Always reference the target path of a walk.
This change removes much of the awareness of prefixes and adjusted roots in patterns out of the base walk implementation over paths. Root and relative paths are now more consistent, referring to the walked `Path` or, similarly, the path given to `Glob::walk` functions. There is only one exception: a rooted pattern replaces the path given to `Glob::walk`. However, this is opaque in the API, though is documented. Depth too is now more consistently applied. Prefixes in patterns are no longer exposed (and `GlobWalker` has been removed from public APIs). To allow for more control over depth behaviors, `Glob` will instead expose depth variance, which can then be used to construct a `DepthBehavior`. This has not yet been implemented though.
- Loading branch information
1 parent
e43d693
commit 03d82b9
Showing
4 changed files
with
192 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.