mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-16 10:41:08 +00:00
feat: add excludes file debug output
This commit is contained in:
@@ -63,6 +63,16 @@ def remove_containers(containers: List['Container']):
|
||||
except Exception as ex:
|
||||
logger.exception(ex)
|
||||
|
||||
def join_file_content(file):
|
||||
if not os.path.isfile(file):
|
||||
return ""
|
||||
with open(file) as c:
|
||||
output = ""
|
||||
lines = c.readlines()
|
||||
for i in range(len(lines)):
|
||||
output += lines[i] + ","
|
||||
return output
|
||||
|
||||
|
||||
def is_true(value):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user