mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user