aboutsummaryrefslogtreecommitdiff
path: root/libpod/common/common.go
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-08-02 20:09:10 +0000
committerGitHub <noreply@github.com>2022-08-02 20:09:10 +0000
commit49ae6cfed67dbc38408c85b3be52af69fa8f031d (patch)
tree3bd355609715d56a0f4126179c0876cfece3aa4d /libpod/common/common.go
parent87f892e5b56c2fab2f394f8cc79794ccce03f510 (diff)
parent5c95c0920f32b61021395ec2700884d136240de7 (diff)
downloadpodman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.tar.gz
podman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.tar.bz2
podman-49ae6cfed67dbc38408c85b3be52af69fa8f031d.zip
Merge pull request #15142 from mtrmac/sigstore-sign-4.2
[v4.2] Sigstore sign
Diffstat (limited to 'libpod/common/common.go')
-rw-r--r--libpod/common/common.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/libpod/common/common.go b/libpod/common/common.go
deleted file mode 100644
index 34cabeadc..000000000
--- a/libpod/common/common.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package common
-
-// IsTrue determines whether the given string equals "true".
-func IsTrue(str string) bool {
- return str == "true"
-}
-
-// IsFalse determines whether the given string equals "false".
-func IsFalse(str string) bool {
- return str == "false"
-}
-
-// IsValidBool determines whether the given string equals "true" or "false".
-func IsValidBool(str string) bool {
- return IsTrue(str) || IsFalse(str)
-}