| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add a `follow_junctions` argument to `pathlib.Path.walk()`. When set to false, directory junctions are treated as files. Add an `fwalk()` method to `pathlib.Path`, analogous to `os.fwalk()`. Implement `shutil.rmtree()` using `pathlib.Path.walk()` and `fwalk()`.
|
Withdrawing this PR - it's out of date, and I'd like to keep the Path API stable until PathBase is made public (see #110109) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add a follow_junctions argument to pathlib.Path.walk(). When set to false, directory junctions are treated as files.
Add an _fwalk() method to pathlib.Path, similar to os.fwalk() except in its treatment of symlinks.
(This method could be made public in future if desired).
Implement shutil.rmtree() using pathlib.Path.walk() or _fwalk().