mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
docs: Enhance module documentation across various files for clarity a… (#62)
* docs: Enhance module documentation across various files for clarity and completeness * fix: Remove unnecessary blank line in build.rs for cleaner code * docs: Update documentation to improve clarity and consistency in code comments
This commit is contained in:
parent
40995e45e7
commit
1f2bfe76c1
44 changed files with 721 additions and 366 deletions
10
src/walk.rs
10
src/walk.rs
|
|
@ -1,3 +1,13 @@
|
|||
//! Filesystem walker with batched path delivery.
|
||||
//!
|
||||
//! Builds an [`ignore`]-crate [`WalkBuilder`] from the config (respecting
|
||||
//! `.gitignore`, excluded directories, and excluded extensions), then delivers
|
||||
//! discovered paths to the analysis pipeline in batches over a crossbeam channel.
|
||||
//! Batching amortizes channel overhead for large trees.
|
||||
//!
|
||||
//! All paths are checked via [`crate::utils::path::path_stays_within_root`]
|
||||
//! before entering a batch, preventing traversal outside the scan root.
|
||||
|
||||
use crate::utils::Config;
|
||||
use crate::utils::path::path_stays_within_root;
|
||||
use crossbeam_channel::{Receiver, Sender, bounded};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue