[][src]Function spdx::license_id

pub fn license_id(name: &str) -> Option<LicenseId>

Attempts to find a LicenseId for the string Note: any '+' at the end is trimmed