mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Review: add missing lines
This commit is contained in:
parent
c52973e1c0
commit
7ee11b0f1a
1 changed files with 2 additions and 0 deletions
|
|
@ -222,12 +222,14 @@ def sorted_walk(path, ignore=(), ignore_hidden=False, logger=None):
|
|||
for res in sorted_walk(cur, ignore, ignore_hidden, logger):
|
||||
yield res
|
||||
|
||||
|
||||
def path_as_posix(path):
|
||||
"""Return the string representation of the path with forward (/)
|
||||
slashes.
|
||||
"""
|
||||
return path.replace(b'\\', b'/')
|
||||
|
||||
|
||||
def mkdirall(path):
|
||||
"""Make all the enclosing directories of path (like mkdir -p on the
|
||||
parent).
|
||||
|
|
|
|||
Loading…
Reference in a new issue