aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/index
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-07-28 23:40:23 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-07-28 23:40:23 -0400
commit209af758b64d586e1c0aec3ad2eb4b56740aeddf (patch)
tree61d8fcebabb925456a87671558df035097560329 /pkg/index
parentf829b01a1c92e788f5114cf66c24856be23ec88f (diff)
Resolve multiple todos
Diffstat (limited to 'pkg/index')
-rw-r--r--pkg/index/filters.go2
-rw-r--r--pkg/index/index.go1
2 files changed, 0 insertions, 3 deletions
diff --git a/pkg/index/filters.go b/pkg/index/filters.go
index bd9df54..3deee6d 100644
--- a/pkg/index/filters.go
+++ b/pkg/index/filters.go
@@ -11,8 +11,6 @@ import (
"strings"
)
-// TODO: add support for lua filters
-
type DocFilter struct {
Name string
Filter func(InfoPath, io.ReadSeeker) bool
diff --git a/pkg/index/index.go b/pkg/index/index.go
index f4e4593..b354bbf 100644
--- a/pkg/index/index.go
+++ b/pkg/index/index.go
@@ -213,7 +213,6 @@ func (doc Document) Equal(other Document) bool {
}
func visit(file InfoPath, visitQueue chan<- InfoPath, filterQueue chan<- InfoPath, ignoreHidden bool, wg *sync.WaitGroup) {
- // TODO: check if symlink, and handle appropriately
// TODO: extract error out of function
if ignoreHidden && path.Base(file.Path)[0] == '.' {