mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
refactor: introduce GC, to delete old data
This commit is contained in:
parent
5d1df19291
commit
de1fea64bc
6 changed files with 105 additions and 9 deletions
|
@ -33,4 +33,5 @@ type DataStore interface {
|
|||
Resource(ctx context.Context, model interface{}) ResourceRepository
|
||||
|
||||
WithTx(func(tx DataStore) error) error
|
||||
GC(ctx context.Context) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue