{"modulePath":"github.com/2lambda123/git-lfs","version":"v2.5.2+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package filepathfilter\n\n## Types\n\n```go\ntype Filter struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc New(include, exclude []string) *Filter\n```\n\n```go\nfunc NewFromPatterns(include, exclude []Pattern) *Filter\n```\n\n```go\nfunc (f *Filter) Allows(filename string) bool\n```\n\n```go\nfunc (f *Filter) Exclude() []string\n```\nExclude returns the result of calling String() on each Pattern in the exclude set of this \\*Filter.\n\n```go\nfunc (f *Filter) Include() []string\n```\nInclude returns the result of calling String() on each Pattern in the include set of this \\*Filter.\n\n```go\ntype Pattern interface {\n\tMatch(filename string) bool\n\t// String returns a string representation (see: regular expressions) of\n\t// the underlying pattern used to match filenames against this Pattern.\n\tString() string\n}\n```\n\n```go\nfunc NewPattern(p string) Pattern\n```\n\n","path":"github.com/2lambda123/git-lfs/filepathfilter","name":"filepathfilter","synopsis":"","isRedistributable":true}
