Function linkcheck::validation::check_filesystem[][src]

pub fn check_filesystem<C>(
    current_directory: &Path,
    path: &Path,
    fragment: Option<&str>,
    ctx: &C
) -> Result<(), Reason> where
    C: Context + ?Sized
Expand description

Check whether a Path points to a valid file on disk.

If a fragment specifier is provided, this function will scan through the linked document and check that the file contains the corresponding anchor (e.g. markdown heading or HTML id).