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:
renovate[bot]
2023-06-30 14:18:42 +00:00
committed by GitHub
parent f95931d656
commit 3d8d212869
9 changed files with 21 additions and 54 deletions

View File

@@ -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() {