Registry / utility / zealic-xignore

zealic-xignore

JSON →
library0.3.3gogounverified

A Go library for parsing and applying .gitignore-style patterns.

go get github.com/zealic/xignore
INSTALL
IMPORT
SIG · ZEALIC-XIGNORE
Z
zealic-xignore
utilitygov0.3.3
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.

xignore
github.com/zealic/xignore

Create a matcher and test a file against ignore patterns.

package main import ( "fmt" "github.com/zealic/xignore" ) func main() { matcher := xignore.NewMatcher() matcher.AddPattern("*.log") fmt.Println(matcher.Match("debug.log")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
zealic-xignore — go get zealic-xignore · libregistry