VictoriaMetrics/lib/filestream
Aliaksandr Valialkin 9183a439c7
lib/filestream: change Create() to MustCreate()
Callers of this function log the returned error and exit.
It is better logging the error together with the path to the filename
and call stack directly inside the function. This simplifies
the code at callers' side without reducing the level of debuggability
2023-04-14 15:12:48 -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:05:11 +03:00
filestream_linux.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
filestream_openbsd.go lib/{fs,filestream}: small consistency-related updates after cc90a548b1 2020-09-29 00:42:43 +03:00
filestream_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
filestream_test.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:12:48 -07:00
filestream_windows.go all: follow-up after 34634ec357 2023-03-25 11:57:39 -07:00
filestream.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:12:48 -07:00