VictoriaMetrics/lib/filestream
Aliaksandr Valialkin df99965564
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:14:24 -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 () 2021-06-04 11:56:06 +03:00
filestream_test.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:14:24 -07:00
filestream_windows.go all: follow-up after 34634ec357 2023-03-25 12:00:48 -07:00
filestream.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:14:24 -07:00