VictoriaMetrics/lib/filestream
Aliaksandr Valialkin 0bbb281c3d
lib/filestream: transform Open() -> MustOpen()
Callers of this function log the returned error and exit.
Let's log the error with the path to the filename and call stack
inside the function. This simplifies the code at callers' side
without reducing the level of debuggability.
2023-04-14 15:04:54 -07:00
..
filestream.go lib/filestream: transform Open() -> MustOpen() 2023-04-14 15:04:54 -07:00
filestream_darwin.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
filestream_freebsd.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
filestream_linux.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
filestream_openbsd.go lib/{fs,filestream}: small consistency-related updates after cc90a548b1 2020-09-29 00:43:20 +03:00
filestream_solaris.go fixes solaris build (#1345) 2021-06-04 11:56:06 +03:00
filestream_test.go lib/filestream: transform Open() -> MustOpen() 2023-04-14 15:04:54 -07:00
filestream_windows.go all: follow-up after 34634ec357 2023-03-25 12:00:48 -07:00