brinkhaustools::licence

Function parse_source_spec

Source
pub fn parse_source_spec(
    kind: IdentifierKind,
    spec: &str,
) -> Result<Vec<ExplicitSource>, String>
Expand description

Parse a list of named sources of one kind: label=path,label=path or a single bare path (label = file name). Whitespace around items is ignored, empty items are skipped.

ยงErrors

Text naming the item, if a label or path is empty.