MCPcopy Create free account
hub / github.com/corestoreio/pkg / IsCIDR

Function IsCIDR

util/validation/validator.go:837–840  ·  view source on GitHub ↗

IsCIDR check if the string is an valid CIDR notiation (IPV4 & IPV6)

(str string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestIsCIDRFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsCIDRFunction · 0.68