pub fn check(dir: &Path) -> Vec<String>
Everything that keeps the folder dir from being published; empty when it is fine.
dir