mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 06:46:34 +00:00
ebce4b2581
When setting up the index used for benchmarking, use math/rand instead of crypto/rand since the generated ids don't need to be evenly distributed, and not be secure against guessing. As such, use a different random id function (only available during tests) that uses math/rand instead. |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
index_test.go | ||
index.go | ||
key.go | ||
master_index.go | ||
packer_manager_test.go | ||
packer_manager.go | ||
parallel_test.go | ||
parallel.go | ||
pool.go | ||
repack_test.go | ||
repack.go | ||
repository_test.go | ||
repository.go | ||
testing.go |