prometheus/fileutil
Goutham Veeramachaneni 9c8ca47399
Fix filehandling for windows (#392)
* Fix filehandling for windows

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Fix more windows filehandling issues

Windows: Close files before deleting Checkpoints.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Windows: Close writers in case of errors so they can be deleted

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Windows: Close block so that it can be deleted.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Windows: Close file to delete it

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Windows: Close dir so that it can be deleted.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

Windows: close files so that they can be deleted.

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>

* Review feedback

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
2018-09-21 11:01:22 +05:30
..
dir_unix.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
dir_windows.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
fileutil.go Fix filehandling for windows (#392) 2018-09-21 11:01:22 +05:30
flock.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
flock_plan9.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
flock_solaris.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
flock_test.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
flock_unix.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
flock_windows.go Move to flock lockfile 2018-05-29 14:35:48 -04:00
mmap.go Move index and chunk encoders to own packages 2017-12-21 11:27:54 +01:00
mmap_386.go Add architecture specific map sizes 2018-03-14 18:59:20 +05:30
mmap_amd64.go Add architecture specific map sizes 2018-03-14 18:59:20 +05:30
mmap_unix.go Move index and chunk encoders to own packages 2017-12-21 11:27:54 +01:00
mmap_windows.go Add architecture specific map sizes 2018-03-14 18:59:20 +05:30
preallocate.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
preallocate_darwin.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
preallocate_linux.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
preallocate_other.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
sync.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
sync_darwin.go Remove dependency on etcd/pkg/fileutil 2017-10-04 10:23:41 +02:00
sync_linux.go gofmt -s. 2018-05-07 15:39:54 +03:00