Skip to main content

check_declared

Function check_declared 

Source
pub fn check_declared(
    policy: &Policy,
    target: &str,
    commands: &[String],
    docs: Option<&[String]>,
) -> Result<(), String>
Expand description

What is wrong with a link the application declares: it must parse, use an allowed scheme, and a command: link must name a declared command (commands). docs lists the docs: pages the application ships, when it says (None: not checked).