More abstract support for backups & misc code cleanup in that area
This commit is contained in:
@@ -138,6 +138,10 @@ func (b *LocalBackup) Details() *ArchiveDetails {
|
||||
}
|
||||
}
|
||||
|
||||
func (b *LocalBackup) Ignored() []string {
|
||||
return b.IgnoredFiles
|
||||
}
|
||||
|
||||
// Ensures that the local backup destination for files exists.
|
||||
func (b *LocalBackup) ensureLocalBackupLocation() error {
|
||||
d := config.Get().System.BackupDirectory
|
||||
|
||||
Reference in New Issue
Block a user