Registry / utility / shibumi-go-pathspec

shibumi-go-pathspec

JSON →
library1.3.0gogounverified

Package pathspec implements git compatible gitignore pattern matching.

go get github.com/shibumi/go-pathspec
INSTALL
IMPORT
SIG · SHIBUMI-GO-PATHSPE
S
shibumi-go-pathspec
utilitygov1.3.0
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.

pathspec
github.com/shibumi/go-pathspec

Match a file path against a .gitignore pattern.

package main import ( "fmt" "github.com/shibumi/go-pathspec" ) func main() { ps := pathspec.NewGitIgnore(".gitignore") fmt.Println(ps.Match("foo.txt")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
shibumi-go-pathspec — go get shibumi-go-pathspec · libregistry