Skip to content

Commit

Permalink
fixed file sorting in cm read_folder, updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
QpxDesign committed Mar 8, 2024
1 parent f16b135 commit 484a925
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
workspace = { members = [ "tests","tests/obfuscate_access_log_ips"] }
[package]
name = "ngxav"
version = "0.5.2"
version = "0.5.3"
edition = "2021"
license = "MIT"
description = "Search through NGINX logs with advanced filters and support for displaying analytics about your selected log entries"
Expand Down
1 change: 1 addition & 0 deletions src/utils/read_folder_conserve_memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub fn read_folder_conserve_memory(file_path: String, isUnique: Option<bool>) {
.created()
.unwrap()
});
paths.reverse();
let mut occurrences: HashMap<String, bool> = HashMap::new();
for path in paths {
let p: String = path.unwrap().path().to_str().unwrap().to_string();
Expand Down

0 comments on commit 484a925

Please sign in to comment.