mirror of
https://github.com/containers/skopeo.git
synced 2025-09-24 11:26:59 +00:00
Update module github.com/containers/common to v0.55.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/containers/storage/pkg/regexp/regexp.go
generated
vendored
6
vendor/github.com/containers/storage/pkg/regexp/regexp.go
generated
vendored
@@ -10,7 +10,9 @@ import (
|
||||
// used as global variables. Using this structure helps speed the startup time
|
||||
// of apps that want to use global regex variables. This library initializes them on
|
||||
// first use as opposed to the start of the executable.
|
||||
type Regexp = *regexpStruct
|
||||
type Regexp struct {
|
||||
*regexpStruct
|
||||
}
|
||||
|
||||
type regexpStruct struct {
|
||||
_ noCopy
|
||||
@@ -26,7 +28,7 @@ func Delayed(val string) Regexp {
|
||||
if precompile {
|
||||
re.regexp = regexp.MustCompile(re.val)
|
||||
}
|
||||
return re
|
||||
return Regexp{re}
|
||||
}
|
||||
|
||||
func (re *regexpStruct) compile() {
|
||||
|
Reference in New Issue
Block a user