fn check_file_url(url: &Url, _ctx: &CheckContext) -> bool {
    let path = url.to_file_path().unwrap();

    if path.exists() {
        debug!("Linked file at path {} does exist.", path.display());
        true
    } else {
        error!("Linked file at path {} does not exist!", path.display());
        false
    }
}
/// Check a URL with the "file" scheme for availability. Returns `false` if it is unavailable.
Check a URL with the "file" scheme for availability. Returns `false` if it is unavailable.
Check a URL with the " file " scheme for availability . Returns ` false ` if it is unavailable .
fn check_file_url(url: &Url, _ctx: &CheckContext) -> bool {
    let path = url.to_file_path().unwrap();
    if path.exists() {
        debug!("Linked file at path {} does exist.", path.display());
        true
    } else {
        error!("Linked file at path {} does not exist!", path.display());
        false
    }
}
fn check_file_url ( url : & Url , _ctx : & CheckContext ) -> bool { let path = url . to_file_path ( ) . unwrap ( ) ; if path . exists ( ) { debug ! ( " " path display ( ) ) ; true } else { error ! ( " " path display ( ) ) ; false } }
Check a URL with the "file" scheme for availability.
Check a URL with the " file " scheme for availability .
url
&Url
_ctx
&CheckContext