diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-07-28 23:38:37 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-07-30 17:26:08 +0200 |
commit | 02f570e4bde9534392040b57f5f3cbcca2235b54 (patch) | |
tree | bb617dbec577142df35d461d62d6895e20e1f754 /libpod/common/common.go | |
parent | 63d77da5b9b0578fcbfef927a7bd1579c6ed1198 (diff) | |
download | podman-02f570e4bde9534392040b57f5f3cbcca2235b54.tar.gz podman-02f570e4bde9534392040b57f5f3cbcca2235b54.tar.bz2 podman-02f570e4bde9534392040b57f5f3cbcca2235b54.zip |
Remove libpod/common
AFAICS it is not used anywhere.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'libpod/common/common.go')
-rw-r--r-- | libpod/common/common.go | 16 |
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) -} |