VictoriaMetrics/lib/fs
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
..
dir_remover.go lib/mergeset: atomically remove part dirs 2022-09-13 16:17:38 +03:00
fadvise_darwin.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_openbsd.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
fadvise_unix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs.go lib/filestream: change Create() to MustCreate() 2023-04-14 15:12:48 -07:00
fs_nix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs_openbsd.go lib/fs: follow-up after f3a03c4164 2021-02-27 01:01:47 +02:00
fs_solaris.go lib/fs: use unix.Statfs() / unix.Statvfs() when using a path (#3663) 2023-01-17 21:19:26 -08:00
fs_test.go app/vmauth: follow-up for 13368bed18 2021-12-02 23:32:05 +02:00
fs_unix.go lib/fs: use unix.Statfs() / unix.Statvfs() when using a path (#3663) 2023-01-17 21:19:26 -08:00
fs_windows.go all: follow-up after 34634ec357 2023-03-25 11:57:39 -07:00
reader_at.go lib/fs: improve error logging at ReaderAt.MustReadAt() 2023-04-14 14:51:06 -07:00
reader_at_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
reader_at_timing_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00