Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jul 30, 2024
1 parent 6b6847c commit 90d0fec
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
4 changes: 0 additions & 4 deletions SUMMARY.md

Large diffs are not rendered by default.

19 changes: 16 additions & 3 deletions Source/Fn/Binary/Command/Parallel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,26 @@ pub async fn Fn(Option { Entry, Separator, Pattern, Omit, .. }: Option) {
drop(Approval);
});

// let Output = DashMap::new();

while let Some((Entry, Summary)) = Receipt.recv().await {
println!("Entry: \n {}", Entry);
println!("Summary: \n {:?}", Summary);
println!("Entry: {}", Entry);

for (Hash, (Difference, Message)) in Summary.into_iter() {
println!("{}", Hash);
println!("{}", Message);
println!("{}", Difference);

// Output
// .entry(message.clone())
// .or_insert_with(Vec::new)
// .push(format!("{}: {}", Entry, content));
}
}
}

use dashmap::DashMap;

Check warning on line 75 in Source/Fn/Binary/Command/Parallel.rs

View workflow job for this annotation

GitHub Actions / Build (stable)

unused import: `dashmap::DashMap`

Check warning on line 75 in Source/Fn/Binary/Command/Parallel.rs

View workflow job for this annotation

GitHub Actions / Build (nightly)

unused import: `dashmap::DashMap`
use futures::stream::{FuturesUnordered, StreamExt};
use rayon::prelude::{IntoParallelIterator, ParallelIterator};
use rayon::prelude::*;

use crate::Struct::Binary::Command::Entry::Struct as Option;
10 changes: 5 additions & 5 deletions Source/Fn/Summary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ pub async fn Fn(
format!("🗣️ Summary from first commit to latest tag: {}:", Latest),
);

Insert::Fn(
&Summary,
crate::Fn::Summary::Difference::Fn(&Repository, Latest, &Last, Option)?,
format!("🗣️ Summary from latest tag: {} to last commit:", Latest),
);
// Insert::Fn(
// &Summary,
// crate::Fn::Summary::Difference::Fn(&Repository, Latest, &Last, Option)?,
// format!("🗣️ Summary from latest tag: {} to last commit:", Latest),
// );
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions Source/Fn/Summary/Insert.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub fn Fn(Summary: &DashMap<u64, (String, String)>, Difference: String, Message: String) {
Summary.insert(Calculate::Fn(&Difference), (Difference, Message));
Summary.insert(Hash::Fn(&Difference), (Difference, Message));
}

use dashmap::DashMap;

pub mod Calculate;
pub mod Hash;
File renamed without changes.
Binary file modified Target/release/PSummary.exe
Binary file not shown.
Binary file modified Target/release/Summary.exe
Binary file not shown.

0 comments on commit 90d0fec

Please sign in to comment.