mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
a971f52ac8
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> |
||
---|---|---|
.. | ||
dir_unix.go | ||
dir_windows.go | ||
fileutil.go | ||
flock.go | ||
flock_plan9.go | ||
flock_solaris.go | ||
flock_test.go | ||
flock_unix.go | ||
flock_windows.go | ||
mmap.go | ||
mmap_386.go | ||
mmap_amd64.go | ||
mmap_unix.go | ||
mmap_windows.go | ||
preallocate.go | ||
preallocate_darwin.go | ||
preallocate_linux.go | ||
preallocate_other.go | ||
sync.go | ||
sync_darwin.go | ||
sync_linux.go |