mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-19 22:38:09 -07:00
Refactors in response to review comments
A few minor refactors, and a more major one that renames RecordingStore's update_entry_qmdl_size to update_current_entry_qmdl_size, since the only time we're ever updating an entry's QMDL size is when it's the current one.
This commit is contained in:
committed by
Brad Warren
parent
10f560b5e4
commit
9627cec737
@@ -300,7 +300,7 @@ mod tests {
|
||||
analysis_file.flush().await.unwrap();
|
||||
let entry_index = store.current_entry.unwrap();
|
||||
let name = store.manifest.entries[entry_index].name.clone();
|
||||
store.update_entry_qmdl_size(entry_index, 17).await.unwrap();
|
||||
store.update_current_entry_qmdl_size(17).await.unwrap();
|
||||
store.close_current_entry().await.unwrap();
|
||||
(Arc::new(RwLock::new(store)), name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user