mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
vendor: update go.podman.io/{common,image,storage}
Update to the latest tags to make sure they all work correctly. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
4
vendor/go.podman.io/common/pkg/util/util.go
generated
vendored
4
vendor/go.podman.io/common/pkg/util/util.go
generated
vendored
@@ -12,7 +12,7 @@ import (
|
||||
"go.podman.io/storage/pkg/fileutils"
|
||||
)
|
||||
|
||||
// StringMatchRegexSlice determines if a given string matches one of the given regexes, returns bool
|
||||
// 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 {
|
||||
m, err := regexp.MatchString(r, s)
|
||||
@@ -23,7 +23,7 @@ func StringMatchRegexSlice(s string, re []string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// WaitForFile waits until a file has been created or the given timeout has occurred
|
||||
// WaitForFile waits until a file has been created or the given timeout has occurred.
|
||||
func WaitForFile(path string, chWait chan error, timeout time.Duration) (bool, error) {
|
||||
var inotifyEvents chan fsnotify.Event
|
||||
watcher, err := fsnotify.NewWatcher()
|
||||
|
||||
Reference in New Issue
Block a user