Registry / utility / crackcomm-go-gitignore

crackcomm-go-gitignore

JSON →
library0.0.0-20241020182519-7843d2ba8fdfgogounverified

A library that returns a new ignorer object to test against paths based on .gitignore rules.

go get github.com/crackcomm/go-gitignore
INSTALL
IMPORT
SIG · CRACKCOMM-GO-GITIG
C
crackcomm-go-gitignore
utilitygov0.0.0-20241020182519-7843d2ba8fdf
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ignore
github.com/crackcomm/go-gitignore

Creates an ignorer from a .gitignore pattern and tests a path.

package main import ( "fmt" "github.com/crackcomm/go-gitignore" ) func main() { ignorer := ignore.NewIgnore("*.log") fmt.Println(ignorer.Match("test.log")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20241020182519-7843d2ba8fdflatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
crackcomm-go-gitignore — go get crackcomm-go-gitignore · libregistry