MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / networkConfigMapsEqual

Function networkConfigMapsEqual

internal/ui/components/vm_config.go:806–816  ·  view source on GitHub ↗
(a, b map[string]string)

Source from the content-addressed store, hash-verified

804}
805
806func networkConfigMapsEqual(a, b map[string]string) bool {
807 if len(a) != len(b) {
808 return false
809 }
810 for k, v := range a {
811 if b[k] != v {
812 return false
813 }
814 }
815 return true
816}
817
818func isValidLXCIPv4Config(value string) bool {
819 trimmed := strings.TrimSpace(value)

Callers 2

Calls

no outgoing calls

Tested by 1