feat(error): add wrappers for std::fs methods to track path for errors (#3367)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2023-07-01 13:49:26 +02:00
committed by GitHub
parent e468e15e9c
commit 2126c01a42
14 changed files with 155 additions and 54 deletions

View File

@ -84,7 +84,7 @@ where
// Setup phase before each benchmark iteration
let setup = || {
// Reset DB
let _ = std::fs::remove_dir_all(bench_db_path);
let _ = fs::remove_dir_all(bench_db_path);
let db = Arc::try_unwrap(create_test_rw_db_with_path(bench_db_path)).unwrap();
let mut unsorted_input = unsorted_input.clone();