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
|
|
@ -1,3 +1,12 @@
|
|||
//! Finding serialization and output routing.
|
||||
//!
|
||||
//! Serializes [`crate::commands::scan::Diag`] values to console, JSON, or
|
||||
//! SARIF based on the requested format. `PATTERN_DESCRIPTIONS` is a
|
||||
//! lazily-built map from pattern ID to human-readable description, populated
|
||||
//! from all language registries on first access. `sarif_base_id` normalizes
|
||||
//! source-location-suffixed finding IDs (like `"taint-unsanitised-flow (source 12:3)"`)
|
||||
//! to the canonical SARIF rule ID form.
|
||||
|
||||
use crate::commands::scan::Diag;
|
||||
use crate::patterns::{self, Severity};
|
||||
use once_cell::sync::Lazy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue