ignore

package
v0.0.0-...-d60a440 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIgnore

func CheckIgnore(rules *GitIgnore, path string) bool

CheckIgnore checks if a path should be ignored.

Types

type GitIgnore

type GitIgnore struct {
	Absolute []gitignoreRule
	Scoped   map[string][]gitignoreRule // Key is the directory path
}

func GitignoreRead

func GitignoreRead(gitRepo *repo.GitRepository) (*GitIgnore, error)

Jump to

Keyboard shortcuts

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