alpm_srcinfo::source_info::lints

Function non_spdx_license

Source
pub fn non_spdx_license(
    errors: &mut Vec<SourceInfoError>,
    line: usize,
    license: String,
)
Expand description

Creates a lint error for when a license isn’t compliant with the SPDX format.

Take a look at alpm_types::License for more information about this format.