From 826434a8597122847f643abe835d5c6e5dd74c4c Mon Sep 17 00:00:00 2001 From: RanXom Date: Tue, 14 Jul 2026 10:45:04 +0530 Subject: refactor(service): rename load to reload --- internal/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/service/service.go') diff --git a/internal/service/service.go b/internal/service/service.go index 68a764e..063c0e7 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -9,7 +9,7 @@ import ( // GalleryService provides gallery operations. type GalleryService interface { // Load scans the configured roots and builds the in-memory gallery. - Load(ctx context.Context) error + Reload(ctx context.Context) error // Gallery returns the currently loaded gallery. Gallery(ctx context.Context) ([]gallery.Photo, error) -- cgit v1.2.3 From ad97c2f3222dcdb8c124747feb4564ca9069fa1e Mon Sep 17 00:00:00 2001 From: RanXom Date: Tue, 14 Jul 2026 10:57:01 +0530 Subject: refactor(service): synchronize gallery access --- internal/service/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/service/service.go') diff --git a/internal/service/service.go b/internal/service/service.go index 063c0e7..0b9b253 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -8,7 +8,7 @@ import ( // GalleryService provides gallery operations. type GalleryService interface { - // Load scans the configured roots and builds the in-memory gallery. + // Reload scans the configured roots and rebuilds the in-memory gallery. Reload(ctx context.Context) error // Gallery returns the currently loaded gallery. -- cgit v1.2.3