mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
2c3a89339d
The ioutil.ReadDir is deprecated since Go1.16 - see https://tip.golang.org/doc/go1.16#ioutil
VictoriaMetrics requires at least Go1.18, so it is time to switch from io.ReadDir to os.ReadDir
This is a follow-up for
|
||
---|---|---|
.. | ||
dir_remover.go | ||
fadvise_darwin.go | ||
fadvise_openbsd.go | ||
fadvise_solaris.go | ||
fadvise_unix.go | ||
fs.go | ||
fs_nix.go | ||
fs_openbsd.go | ||
fs_solaris.go | ||
fs_test.go | ||
fs_unix.go | ||
fs_windows.go | ||
reader_at.go | ||
reader_at_test.go | ||
reader_at_timing_test.go |