Renamed ImportBackend methods to StartImport / FinishImport

This commit is contained in:
Philipp Wolfer 2023-11-20 07:43:54 +01:00
parent 14d944c7ad
commit c13c9175e3
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
7 changed files with 16 additions and 16 deletions

View file

@ -32,8 +32,8 @@ func (b *DumpBackend) FromConfig(config *viper.Viper) models.Backend {
return b
}
func (b *DumpBackend) Init() error { return nil }
func (b *DumpBackend) Finish() error { return nil }
func (b *DumpBackend) StartImport() error { return nil }
func (b *DumpBackend) FinishImport() error { return nil }
func (b *DumpBackend) ImportListens(export models.ListensResult, importResult models.ImportResult, progress chan models.Progress) (models.ImportResult, error) {
for _, listen := range export.Listens {