summaryrefslogtreecommitdiff
path: root/internal/oi/oi.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/oi/oi.go')
-rw-r--r--internal/oi/oi.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/oi/oi.go b/internal/oi/oi.go
index 1f7de6d..1716082 100644
--- a/internal/oi/oi.go
+++ b/internal/oi/oi.go
@@ -48,6 +48,7 @@ func ReadDirCh[T any](dir string, cb func(file os.DirEntry) (T, bool)) (chan T,
return ch, nil
}
+// TODO: Refactor to use ReadDirCh internally
func TraverseDir(dir string, cb func(file os.DirEntry) error) error {
if err := EnsureDir(dir); err != nil {
return err