VictoriaMetrics/lib/fs
Nikolay d88fa5ebe4 Adds windows build (#1040)
* fixes windows compilation,
adds signal impl for windows,
adds free space usage for windows,
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1036

NOTE victoria metrics database still CANNOT work under windows system,
only vmagent is supported.
To completly port victoria metrics, you have to fix issues with separators,
parsing and posix file removall

* rollback separator

* Adds windows setInformation api,
it must behave like unix, need to test it.
changes procutil

* check for invlaid param

* Fixes posix delete semantic

* refactored a bit

* fixes openbsd build

* removed windows api call

* Fixes code after windows add

* Update lib/procutil/signal_windows.go

Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2021-02-27 01:06:22 +02:00
..
dir_remover.go lib/fs: properly handle stale NFS file handle error during file deletion 2021-02-26 23:24:46 +02:00
fadvise_darwin.go lib/fs: optimize small reads for ReaderAt.MustReadAt by reading from memory-mapped space instead of reading from file descriptor 2020-01-30 15:16:16 +02:00
fadvise_openbsd.go lib/fs: fix GOOS=openbsd build by adding fadviseSequentialRead implementation. 2020-10-05 23:32:28 +03:00
fadvise_unix.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
fs.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
fs_nix.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
fs_openbsd.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
fs_test.go lib/fs: add test for IsTemporaryFileName 2019-08-13 21:33:54 +03:00
fs_unix.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
fs_windows.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
reader_at.go Adds windows build (#1040) 2021-02-27 01:06:22 +02:00
reader_at_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:30 +02:00
reader_at_timing_test.go lib/fs: replace fs.OpenReaderAt with fs.MustOpenReaderAt 2020-11-23 09:57:30 +02:00