Affected by GO-2026-4858
and 1 other vulnerabilities
GO-2026-4858 : BuildKit's Malicious frontend can cause file escape outside of storage root in github.com/moby/buildkit
GO-2026-4859 : BuildKit Git URL subdir component can cause access to restricted files in github.com/moby/buildkit
Discover Packages
github.com/moby/buildkit
util
wildcard
package
Version:
v0.25.2
Opens a new window with list of versions in this module.
Published: Nov 5, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Wildcard2Regexp translates a wildcard string to a regexp string.
type Match struct {
Submatches []string
}
Match is a matched result.
Format formats submatch strings like "$1", "$2".
String implements fmt.Stringer.
Wildcard is a wildcard matcher object.
New returns a wildcard object for a string that contains "*" symbols.
Match returns a non-nil Match on match.
String implements fmt.Stringer.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.