provenant-cli 0.0.21

Rust-based ScanCode-compatible scanner for licenses, package metadata, SBOMs, and provenance data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Core data structures for license detection.

pub mod license;
pub mod license_match;
pub mod loaded_license;
pub mod loaded_rule;
pub mod position_span;
pub mod rule;

pub use license::License;
pub use license_match::{LicenseMatch, MatchCoordinates, MatcherKind};
pub use loaded_license::LoadedLicense;
pub use loaded_rule::LoadedRule;
pub use position_span::PositionSpan;
pub use rule::{Rule, RuleKind};

#[cfg(test)]
mod mod_tests;