Skip to main content

reach

Function reach 

Source
pub fn reach(
    policy: &PolicyRef,
    author: &str,
    written: impl Fn(&str) -> bool,
) -> Result<(), String>
Expand description

Whether a binding written in author’s repository reaches policy. A binding reaches only the policies written beside it; written says whether a policy is written at a key there.

§Errors

Why it does not, as a build failure’s reason.