-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SPath: Implement more helper methods (#10)
* SPath: Implement more helper methods * SPath: Fix import error * SPath: Implement fglob ```bash $ python benchmark.py Total time for 10000 iterations: 0.4242 seconds Average time per fglob call: 0.000042 seconds Total time for 10000 simple glob iterations: 0.5244 seconds Average time per simple glob call: 0.000052 seconds ``` * Address comments * Rename new exception * return of the if (-el) * Reorder methods * SPath.get_size: check if self exists * Remove unnecessary shutil import * find_newest_file: Get folder of self
- Loading branch information
1 parent
7b332ea
commit eba8a9a
Showing
2 changed files
with
67 additions
and
5 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