mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
sort extracted data
This commit is contained in:
parent
cbb9cbabdd
commit
96f961a7ba
4 changed files with 8478 additions and 8478 deletions
|
|
@ -53,7 +53,7 @@ pub fn extract_dir<W: Write>(root: &str, mut output: W, bake: bool) -> Result<()
|
|||
|
||||
let extractor = LogExtractor::new();
|
||||
|
||||
for file in WalkDir::new(root).into_iter().flatten() {
|
||||
for file in WalkDir::new(root).sort_by_file_name().into_iter().flatten() {
|
||||
let path = file.path();
|
||||
if let Some(path) = path.to_str() {
|
||||
if file.file_type().is_file() && path.ends_with(".php") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue