mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
Add .idea to .gitignore to ignore IDE-specific files
This commit is contained in:
parent
0b97f70bde
commit
33c819bd3a
2 changed files with 2 additions and 11 deletions
|
|
@ -76,7 +76,7 @@ pub fn spawn_senders(
|
|||
|
||||
let mut b = Batcher { tx: tx.clone(), batch: Vec::with_capacity(BATCH_SIZE) };
|
||||
match entry {
|
||||
Ok(e) if e.file_type().map_or(false, |ft| ft.is_file()) => {
|
||||
Ok(e) if e.file_type().is_some_and(|ft| ft.is_file()) => {
|
||||
b.push(e.into_path());
|
||||
if batch.len() == BATCH_SIZE {
|
||||
let _ = tx.send(std::mem::take(&mut batch));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue