{"modulePath":"code.cloudfoundry.org/cli-sapi","version":"v6.1.1+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package glob\n\n## Types\n\n```go\ntype Glob struct {\n\t// contains filtered or unexported fields\n}\n```\nGlob holds a Unix-style glob pattern in a compiled form for efficient matching against paths.\n\nGlob notation:\n\n  - \\`?\\` matches a single char in a single path component\n  - \\`\\*\\` matches zero or more chars in a single path component\n  - \\`\\*\\*\\` matches zero or more chars in zero or more components\n  - any other sequence matches itself\n\n```go\nfunc CompileGlob(pat string) (glob Glob, err error)\n```\nCompileGlob translates pat into a form more convenient for matching against paths in the store.\n\n```go\nfunc MustCompileGlob(pat string) Glob\n```\nMustCompileGlob is like CompileGlob, but it panics if an error occurs, simplifying safe initialization of global variables holding glob patterns.\n\n```go\nfunc (g Glob) Match(path string) bool\n```\n\n```go\nfunc (g Glob) String() string\n```\n\n```go\ntype GlobError string\n```\n\n```go\nfunc (e GlobError) Error() string\n```\n\n","path":"code.cloudfoundry.org/cli-sapi/src/glob","name":"glob","synopsis":"","isRedistributable":true}
