⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

detect_license

Function detect_license 

Source
pub fn detect_license(text: &str) -> License
Expand description

Detect a license from the full text of a LICENSE file.

Uses keyword matching to identify the license. Returns License::Unknown if no known license pattern is matched.