Add helpful pathclass.cwd function.
This commit is contained in:
parent
5510d94054
commit
a2337346fb
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue