diff options
| author | Saiyed Shizain <saiyedshizain@gmail.com> | 2026-07-17 11:10:53 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-17 11:10:53 +0530 |
| commit | 6afb80ab754da137939dd523ee419818026f9fb5 (patch) | |
| tree | f9f94ec69ac87abe8060cefca8708572bc13bdd6 /internal/service/service.go | |
| parent | bcfb199ac8e5399e1a92cfbbc28af3674f80959d (diff) | |
| parent | 5ae787be3d1d9de3355f8b5662fea857204e693c (diff) | |
| download | galleryd-6afb80ab754da137939dd523ee419818026f9fb5.tar.xz galleryd-6afb80ab754da137939dd523ee419818026f9fb5.zip | |
Merge pull request #11 from RanXom/feat/live-gallery
Feat/live-gallery: live gallery with automatic filesystem reloads
Diffstat (limited to 'internal/service/service.go')
| -rw-r--r-- | internal/service/service.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/service/service.go b/internal/service/service.go index 68a764e..0b9b253 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -8,8 +8,8 @@ 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 scans the configured roots and rebuilds the in-memory gallery. + Reload(ctx context.Context) error // Gallery returns the currently loaded gallery. Gallery(ctx context.Context) ([]gallery.Photo, error) |