ignore

package
v0.0.0-...-e38a99a Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ignoreConf string, ignoreDeletedPath bool) error

Init init default ignore component ignoreConf the config file path of the ignore component ignoreDeletedPath whether ignore the deleted path

func Match

func Match(s string) bool

func MatchPath

func MatchPath(path, caller, desc string) bool

Types

type Ignore

type Ignore interface {
	Match(s string) bool
}

func New

func New(ignoreFile string) (Ignore, error)

New get a default Ignore instance

Jump to

Keyboard shortcuts

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