VictoriaMetrics/lib/fs
Nikolay c32032ac1b
lib/fs: properly call windows APIs (#6998)
Previously we manually imported system windows DDLs
and made direct syscall.

 But golang exposes syscall wrappers with sys/windows package.
It seems, that direct syscall was broken at 1.23 golang release. It was
`GetDiskFreeSpace` syscall in our case.

This commit replaces all manual syscalls with wrappers

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6973

Related golang issue:
https://github.com/golang/go/issues/69029

Signed-off-by: f41gh7 <nik@victoriametrics.com>
2024-09-13 13:19:04 +02:00
..
fscore
dir_remover.go
fadvise_darwin.go vlinsert: added opentelemetry logs support 2024-09-03 20:24:01 +02:00
fadvise_openbsd.go
fadvise_solaris.go
fadvise_unix.go
fs_nix.go
fs_openbsd.go
fs_solaris.go testing: allow disabling fsync to make tests run faster (#6871) 2024-08-30 11:18:21 +02:00
fs_test.go
fs_unix.go testing: allow disabling fsync to make tests run faster (#6871) 2024-08-30 11:18:21 +02:00
fs_windows.go lib/fs: properly call windows APIs (#6998) 2024-09-13 13:19:04 +02:00
fs.go testing: allow disabling fsync to make tests run faster (#6871) 2024-08-30 11:18:21 +02:00
reader_at_test.go
reader_at_timing_test.go
reader_at.go