Skip to main content

check_path

Function check_path 

Source
pub fn check_path(
    path: impl AsRef<Path>,
    counter: &impl TokenCounter,
) -> Result<Vec<FileReport>, String>
Expand description

Recursively check .htmlp files independently, in sorted order. Skip symlinks and .git, node_modules, target, dist, and vendor. An explicit file must have .htmlp extension. No matches is an error, avoiding empty CI passes.