mirror of
https://github.com/kopia/kopia.git
synced 2026-01-24 06:18:02 -05:00
* refactor: move from ioutil.ReadDir to os.ReadDir This commit is an addition to PR #1360. According to `ioutil.ReadDir` documentation (https://pkg.go.dev/io/ioutil#ReadDir), `os.ReadDir` should be preferred as it is a more efficient and correct implementation. Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> * perf: optimize localfs scan performance Reference: https://github.com/kopia/kopia/pull/1361#issuecomment-937345195 Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>