Remove unused PurgeInactive methods
This commit is contained in:
@@ -33,7 +33,6 @@ type AlbumRepository interface {
|
||||
Get(id string) (*Album, error)
|
||||
FindByArtist(artistId string) (Albums, error)
|
||||
GetAll(...QueryOptions) (Albums, error)
|
||||
PurgeInactive(active Albums) error
|
||||
GetAllIds() ([]string, error)
|
||||
GetStarred(...QueryOptions) (Albums, error)
|
||||
Search(q string, offset int, size int) (Albums, error)
|
||||
|
||||
@@ -22,7 +22,6 @@ type ArtistRepository interface {
|
||||
Exists(id string) (bool, error)
|
||||
Put(m *Artist) error
|
||||
Get(id string) (*Artist, error)
|
||||
PurgeInactive(active Artists) error
|
||||
GetStarred(...QueryOptions) (Artists, error)
|
||||
SetStar(star bool, ids ...string) error
|
||||
Search(q string, offset int, size int) (Artists, error)
|
||||
|
||||
@@ -47,7 +47,6 @@ type MediaFileRepository interface {
|
||||
FindByAlbum(albumId string) (MediaFiles, error)
|
||||
FindByPath(path string) (MediaFiles, error)
|
||||
GetStarred(options ...QueryOptions) (MediaFiles, error)
|
||||
PurgeInactive(active MediaFiles) error
|
||||
GetAllIds() ([]string, error)
|
||||
Search(q string, offset int, size int) (MediaFiles, error)
|
||||
Delete(id string) error
|
||||
|
||||
@@ -17,7 +17,6 @@ type PlaylistRepository interface {
|
||||
Put(m *Playlist) error
|
||||
Get(id string) (*Playlist, error)
|
||||
GetAll(options ...QueryOptions) (Playlists, error)
|
||||
PurgeInactive(active Playlists) ([]string, error)
|
||||
}
|
||||
|
||||
type Playlists []Playlist
|
||||
|
||||
Reference in New Issue
Block a user