VictoriaMetrics/lib/fs
Aliaksandr Valialkin f4fd917e4f lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt
All the callers for fs.OpenReaderAt expect that the file will be opened.
So it is better to log fatal error inside fs.MustOpenReaderAt instead of leaving this to the caller.
2020-11-23 09:57:30 +02:00
..
copy_mmap_cgo.go lib/fs: optimize small reads for ReaderAt.MustReadAt by reading from memory-mapped space instead of reading from file descriptor 2020-01-30 15:16:16 +02:00
copy_mmap_nocgo.go lib/fs: optimize small reads for ReaderAt.MustReadAt by reading from memory-mapped space instead of reading from file descriptor 2020-01-30 15:16:16 +02:00
dir_remover.go lib/fs: use WARN instead of ERROR log level for the message when NFS diretory removal temporarily fails 2020-08-09 12:07:35 +03:00
fadvise_darwin.go lib/fs: optimize small reads for ReaderAt.MustReadAt by reading from memory-mapped space instead of reading from file descriptor 2020-01-30 15:16:16 +02:00
fadvise_openbsd.go lib/fs: fix GOOS=openbsd build by adding fadviseSequentialRead implementation. 2020-10-05 23:32:28 +03:00
fadvise_unix.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
fs_nix.go added openbsd implementations (#790) 2020-09-29 00:43:19 +03:00
fs_openbsd.go added openbsd implementations (#790) 2020-09-29 00:43:19 +03:00
fs_test.go lib/fs: add test for IsTemporaryFileName 2019-08-13 21:33:54 +03:00
fs.go lib/{fs,filestream}: small consistency-related updates after cc90a548b1 2020-09-29 00:43:20 +03:00
reader_at_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:30 +02:00
reader_at_timing_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:30 +02:00
reader_at.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:30 +02:00