aboutsummaryrefslogtreecommitdiff
path: root/internal/watcher/doc.go
diff options
context:
space:
mode:
authorRanXom <saiyedshizain@gmail.com>2026-07-14 11:46:12 +0530
committerRanXom <saiyedshizain@gmail.com>2026-07-14 11:46:12 +0530
commit9fd2f9eabe93713c0e8fb7dd094e77109db84265 (patch)
tree7d94561ae0a3bb8f54b52cd7c6b15387a9f640fc /internal/watcher/doc.go
parented87aebc0296379280fd65d618127b4eeb848a98 (diff)
downloadgalleryd-9fd2f9eabe93713c0e8fb7dd094e77109db84265.tar.xz
galleryd-9fd2f9eabe93713c0e8fb7dd094e77109db84265.zip
feat(watcher): introduce filesystem watcher abstraction
Diffstat (limited to 'internal/watcher/doc.go')
-rw-r--r--internal/watcher/doc.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/watcher/doc.go b/internal/watcher/doc.go
new file mode 100644
index 0000000..95801aa
--- /dev/null
+++ b/internal/watcher/doc.go
@@ -0,0 +1,7 @@
+// Package watcher watches configured directories for filesystem changes.
+//
+// The package is intentionally unaware of galleries, thumbnails and HTTP.
+//
+// Its sole responsibility is detecting filesystem changes and notifying
+// the caller through a callback.
+package watcher