go-pathspec – github.com/shibumi/go-pathspec Index | Files

package pathspec

import "github.com/shibumi/go-pathspec"

Index

Variables

var ErrBadPattern = errors.New("syntax error in pattern")

ErrBadPattern indicates a globbing pattern was malformed.

Functions

func ChefIgnore

func ChefIgnore(content io.Reader, name string) (ignore bool, err error)

func GitIgnore

func GitIgnore(content io.Reader, name string) (ignore bool, err error)

Types

type GitIgnorePattern

type GitIgnorePattern struct {
	Regex   string
	Include bool
}

Source Files

chefignore.go gitignore.go

Version
v1.0.1
Published
Aug 15, 2014
Platform
darwin/amd64
Imports
8 packages
Last checked
10 months ago

Tools for package owners.