From 305148e1246ce0d94c198d92608bf7c7f8940e0d Mon Sep 17 00:00:00 2001 From: Deluan Date: Mon, 10 Nov 2025 19:39:20 -0500 Subject: [PATCH] refactor(folder): remove unused LibraryPath struct and update GC logging message Signed-off-by: Deluan --- model/folder.go | 6 ------ persistence/persistence.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/model/folder.go b/model/folder.go index ba8db9cc1..7a769735e 100644 --- a/model/folder.go +++ b/model/folder.go @@ -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 -} diff --git a/persistence/persistence.go b/persistence/persistence.go index b0c5a7f50..6db3f8575 100644 --- a/persistence/persistence.go +++ b/persistence/persistence.go @@ -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(