func (c *condition) match(v string) bool {
	if c.excludes(v) {
		return false
	}
	if c.includes(v) {
		return true
	}
	if len(c.Include) == 0 {
		return true
	}
	return false
}
match returns true if the string matches the include
patterns and does not match any of the exclude patterns.
package plugin
import (
	"github.com/drone/drone-go/drone"
	filepath "github.com/bmatcuk/doublestar"
	"github.com/sirupsen/logrus"
)