Skip to content

Commit 484a925

Browse files
committed
fixed file sorting in cm read_folder, updated readme
1 parent f16b135 commit 484a925

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
workspace = { members = [ "tests","tests/obfuscate_access_log_ips"] }
22
[package]
33
name = "ngxav"
4-
version = "0.5.2"
4+
version = "0.5.3"
55
edition = "2021"
66
license = "MIT"
77
description = "Search through NGINX logs with advanced filters and support for displaying analytics about your selected log entries"

src/utils/read_folder_conserve_memory.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub fn read_folder_conserve_memory(file_path: String, isUnique: Option<bool>) {
1515
.created()
1616
.unwrap()
1717
});
18+
paths.reverse();
1819
let mut occurrences: HashMap<String, bool> = HashMap::new();
1920
for path in paths {
2021
let p: String = path.unwrap().path().to_str().unwrap().to_string();

0 commit comments

Comments
 (0)