git

package
v1.505.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitIgnore

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

func NewGitIgnore

func NewGitIgnore() *GitIgnore

func (*GitIgnore) AddIgnoreFile

func (i *GitIgnore) AddIgnoreFile(ignoreDir, ignoreFile string) error

Add the given ignore file rules relative to the given directory.

func (*GitIgnore) CollectIgnoreFiles

func (i *GitIgnore) CollectIgnoreFiles(c *config.Config, rel string)

func (*GitIgnore) Matches

func (i *GitIgnore) Matches(p string) bool

Jump to

Keyboard shortcuts

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