prometheus/fileutil
Callum Styan a971f52ac8 clean up after running repair tests (#372)
implement a `CopyDirs` helper to walk all dirs and subdirs and copy all files within to a destination folder.

Refactor `TestRepairBadIndexVersion` to use the `CopyDirs` so it works on a copy db and remove the copy after the test.
This allows running the test more than once and doesn't confuse git.

Signed-off-by: Callum Stytan <callumstyan@gmail.com>
2018-09-21 20:35:33 +03:00
..
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 clean up after running repair tests (#372) 2018-09-21 20:35:33 +03:00
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