mirror of
https://github.com/containers/podman.git
synced 2025-12-06 05:37:49 +08:00
Update vendor dependencies
- Update github.com/containers/common to v0.64.1-0.20250806164630-57def9601f3b - Update github.com/spf13/pflag to v1.0.7 - Update github.com/seccomp/libseccomp-golang to v0.11.1 Signed-off-by: Joshua Arrevillaga <2004jarrevillaga@gmail.com>
This commit is contained in:
8
vendor/github.com/containers/common/pkg/util/util.go
generated
vendored
8
vendor/github.com/containers/common/pkg/util/util.go
generated
vendored
@@ -5,7 +5,6 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"slices"
|
||||
"time"
|
||||
|
||||
"github.com/containers/storage/pkg/fileutils"
|
||||
@@ -13,13 +12,6 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// StringInSlice determines if a string is in a string slice, returns bool.
|
||||
//
|
||||
// Deprecated: Use [slices.Contains] instead.
|
||||
func StringInSlice(s string, sl []string) bool {
|
||||
return slices.Contains(sl, s)
|
||||
}
|
||||
|
||||
// StringMatchRegexSlice determines if a given string matches one of the given regexes, returns bool
|
||||
func StringMatchRegexSlice(s string, re []string) bool {
|
||||
for _, r := range re {
|
||||
|
||||
Reference in New Issue
Block a user