Add helpful pathclass.cwd function.

This commit is contained in:
Ethan Dalool 2020-09-12 10:15:14 -07:00
parent 5510d94054
commit a2337346fb

View file

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