mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
cf4701db65
Use fs.MustReadDir() instead of os.ReadDir() across the code in order to reduce the code verbosity. The fs.MustReadDir() logs the error with the directory name and the call stack on error before exit. This information should be enough for debugging the cause of the error. |
||
---|---|---|
.. | ||
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 |