mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
Remove dead code
This commit is contained in:
parent
5a69f58823
commit
7b9d129bcd
1 changed files with 0 additions and 11 deletions
|
@ -277,17 +277,6 @@ def is_cachedir(path):
|
|||
return False
|
||||
|
||||
|
||||
def walk_path(path, skip_inodes=None):
|
||||
st = os.lstat(path)
|
||||
if skip_inodes and (st.st_ino, st.st_dev) in skip_inodes:
|
||||
return
|
||||
yield path, st
|
||||
if stat.S_ISDIR(st.st_mode):
|
||||
for f in os.listdir(path):
|
||||
for x in walk_path(os.path.join(path, f), skip_inodes):
|
||||
yield x
|
||||
|
||||
|
||||
def format_time(t):
|
||||
"""Format datetime suitable for fixed length list output
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue