Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- drop the use of _Accessor class from the internals of pathlib. It was removed in python 3.11 which broke... everything. - Detect python < 3.11 and provide the base needed accessor method "scandir" - Detect python >= 3.11 and provide the Path._scandir function - Move accessor methods to the Pathy class - Remove a few _accessor tests, and update those that referenced the accessor directly - TODO: Remove the use of pathlib scandir entirely, and replace it with an inlined glob matching system to provide this functionality. This is the only tech debt the project has left at this point that I can see. BREAKING CHANGE: Pathy.exists() no longer enumerates buckets if given a path with no root.
- Loading branch information