Registry / utility / moby-patternmatcher

moby-patternmatcher

JSON →
library0.6.1gogounverified

Package patternmatcher provides file path pattern matching utilities used by Docker/Moby.

go get github.com/moby/patternmatcher
INSTALL
IMPORT
SIG · MOBY-PATTERNMATCHE
M
moby-patternmatcher
utilitygov0.6.1
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.

patternmatcher
github.com/moby/patternmatcher

Match file paths against a pattern

package main import ( "fmt" "github.com/moby/patternmatcher" ) func main() { matcher, _ := patternmatcher.New("*.go") fmt.Println(matcher.Matches("main.go")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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