]> git.proxmox.com Git - pve-guest-common.git/commit
guesthelpers: move/add safe comparison functions from lxc and qemu
authorOguz Bektas <o.bektas@proxmox.com>
Wed, 19 Feb 2020 16:07:55 +0000 (17:07 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 10 Mar 2020 08:00:05 +0000 (09:00 +0100)
commit24d90d8d10ae951f5761649c37d7ccaaf58d87e3
tree6dc9129cb6ffb33d7ecd01d29d890f1061798b69
parentab44df53f766f47e4b1b7d77fab5048865237790
guesthelpers: move/add safe comparison functions from lxc and qemu

move the safe_string_ne and safe_num_ne functions to guesthelpers to
remove duplicate code.

add the new safe_boolean_ne and typesafe_ne helper functions

also add them in @EXPORT_OK

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
PVE/GuestHelpers.pm