refactor(folder): remove unused LibraryPath struct and update GC logging message

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan 2025-11-10 19:39:20 -05:00
parent 36a7040df3
commit 305148e124
2 changed files with 1 additions and 7 deletions

View File

@ -90,9 +90,3 @@ type FolderRepository interface {
MarkMissing(missing bool, ids ...string) error
GetTouchedWithPlaylists() (FolderCursor, error)
}
// LibraryPath represents a folder path within a specific library
type LibraryPath struct {
LibraryID int
FolderPath string
}

View File

@ -170,7 +170,7 @@ func (s *SQLStore) GC(ctx context.Context, libraryIDs ...int) error {
// TODO: Implement library-specific filtering for GC operations
// For now, GC runs globally even in selective scans
if len(libraryIDs) > 0 {
log.Debug(ctx, "GC: Running with library filter", "libraries", libraryIDs)
log.Debug(ctx, "GC: Running with library filter (not implemented)", "libraries", libraryIDs)
}
err := run.Sequentially(