Add helpful pathclass.cwd function.

master
Ethan Dalool 2020-09-12 10:15:14 -07:00
parent 5510d94054
commit a2337346fb
1 changed files with 3 additions and 0 deletions

View File

@ -316,6 +316,9 @@ def common_path(paths, fallback):
return fallback return fallback
model = parent model = parent
def cwd():
return pathclass.Path(os.getcwd())
def get_path_casing(path): def get_path_casing(path):
''' '''
Take what is perhaps incorrectly cased input and get the path's actual Take what is perhaps incorrectly cased input and get the path's actual