summaryrefslogtreecommitdiff
path: root/lib/streamio/runescanner.go
AgeCommit message (Collapse)Author
2023-04-13Try to find misuses of textui.ProgressLuke Shumaker
- Add a runtime-check to Progress to notice if we deadlocked or forgot to call .Done(). - Add a runtime-check to Progress.Done() to panic if .Set() was never called (instead of the old behavior of deadlocking). - grep: Use `defer` when possible, to help remember to call .Done(). - grep: Always either call .Set() right away, or right before calling .Done().
2023-03-17tree-wide: Turn on all revive linters (with exceptions)Luke Shumaker
2023-03-17tree-wide: Ensure that all packages have a doc commentLuke Shumaker
2023-01-30streamio: Optimize based on the profilerLuke Shumaker
2023-01-25Move btrfs-rec's logging RuneScanner to a new `streamio` packageLuke Shumaker