From d5edaafc454dffd50cac1fed3cf03fbe9a05c50c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 2 Oct 2024 11:14:02 +0300 Subject: add comment what to do next --- internal/oi/oi.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/oi') 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 -- cgit v1.2.3