mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-10-10 12:20:58 +00:00
Add docstring for get_volume_backup_destination
This commit is contained in:
@@ -231,6 +231,7 @@ class Container:
|
|||||||
return volumes
|
return volumes
|
||||||
|
|
||||||
def get_volume_backup_destination(self, mount, source_prefix) -> str:
|
def get_volume_backup_destination(self, mount, source_prefix) -> str:
|
||||||
|
"""Get the destination path for backups of the given mount"""
|
||||||
destination = Path(source_prefix)
|
destination = Path(source_prefix)
|
||||||
|
|
||||||
if utils.is_true(config.include_project_name):
|
if utils.is_true(config.include_project_name):
|
||||||
|
Reference in New Issue
Block a user