ignore

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IgnoreMatcher

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

func LoadIgnoreMatcher

func LoadIgnoreMatcher(rootDir string, inlinePatterns []string) (*IgnoreMatcher, error)

func (*IgnoreMatcher) Explain

func (m *IgnoreMatcher) Explain(rootDir, candidatePath string, isDir bool) (IgnoreRule, bool)

func (*IgnoreMatcher) Match

func (m *IgnoreMatcher) Match(rootDir, candidatePath string, isDir bool) bool

type IgnoreRule

type IgnoreRule struct {
	Pattern string
	Source  string
}

Jump to

Keyboard shortcuts

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