summaryrefslogtreecommitdiff
path: root/internal/oi
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-02 11:14:02 +0300
committerPaul Buetow <paul@buetow.org>2024-10-02 11:14:02 +0300
commitd5edaafc454dffd50cac1fed3cf03fbe9a05c50c (patch)
tree8f1ffc84616899674f813d04e99a44e0b005f5f4 /internal/oi
parent6aa48faba934c37e012c1f9d0c09e9ed6f6739c0 (diff)
add comment what to do next
Diffstat (limited to 'internal/oi')
-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