pub fn glob_match(pattern: &str, path: &str) -> bool
Whether path matches the .dockerignore glob pattern, taken as written (already cleaned). A malformed pattern matches nothing.
path
.dockerignore
pattern