pub fn is_hidden_path(path: &str) -> bool
A hidden path has at least one file or directory component beginning with a dot, such as .github/workflows/ci.yml or lib/.generated/module.ex.
.github/workflows/ci.yml
lib/.generated/module.ex