diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-02 11:14:02 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-02 11:14:02 +0300 |
| commit | d5edaafc454dffd50cac1fed3cf03fbe9a05c50c (patch) | |
| tree | 8f1ffc84616899674f813d04e99a44e0b005f5f4 /internal/oi | |
| parent | 6aa48faba934c37e012c1f9d0c09e9ed6f6739c0 (diff) | |
add comment what to do next
Diffstat (limited to 'internal/oi')
| -rw-r--r-- | internal/oi/oi.go | 1 |
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 |
