ignore

package
v0.11.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2015 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

type Matcher struct {
	// contains filtered or unexported fields
}

func New

func New(withCache bool) *Matcher

func (*Matcher) Hash

func (m *Matcher) Hash() string

func (*Matcher) Load

func (m *Matcher) Load(file string) error

func (*Matcher) Match

func (m *Matcher) Match(file string) (result bool)

func (*Matcher) Parse

func (m *Matcher) Parse(r io.Reader, file string) error

func (*Matcher) Patterns

func (m *Matcher) Patterns() []string

Patterns return a list of the loaded regexp patterns, as strings

func (*Matcher) Stop

func (m *Matcher) Stop()

type Pattern

type Pattern struct {
	// contains filtered or unexported fields
}

func (Pattern) String

func (p Pattern) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL