{"modulePath":"github.com/actions-oss/act-cli","version":"v0.4.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package workflowpattern\n\n## Functions\n\n```go\nfunc Filter(sequence []*WorkflowPattern, input []string, traceWriter TraceWriter) bool\n```\nreturns true if the workflow should be skipped paths-ignore/branches-ignore\n\n```go\nfunc PatternToRegex(pattern string) (string, error)\n```\n\n```go\nfunc Skip(sequence []*WorkflowPattern, input []string, traceWriter TraceWriter) bool\n```\nreturns true if the workflow should be skipped paths/branches\n\n## Types\n\n```go\ntype EmptyTraceWriter struct{}\n```\n\n```go\nfunc (*EmptyTraceWriter) Info(string, ...interface{})\n```\n\n```go\ntype StdOutTraceWriter struct{}\n```\n\n```go\nfunc (*StdOutTraceWriter) Info(format string, args ...interface{})\n```\n\n```go\ntype TraceWriter interface {\n\tInfo(string, ...interface{})\n}\n```\n\n```go\ntype WorkflowPattern struct {\n\tPattern  string\n\tNegative bool\n\tRegex    *regexp.Regexp\n}\n```\n\n```go\nfunc CompilePattern(rawpattern string) (*WorkflowPattern, error)\n```\n\n```go\nfunc CompilePatterns(patterns ...string) ([]*WorkflowPattern, error)\n```\n\n","path":"github.com/actions-oss/act-cli/pkg/workflowpattern","name":"workflowpattern","synopsis":"","isRedistributable":true}
