MCPcopy
hub / github.com/spf13/pflag / String

Method String

ipmask.go:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (i *ipMaskValue) String() string { return net.IPMask(*i).String() }
18func (i *ipMaskValue) Set(s string) error {
19 ip := ParseIPv4Mask(s)
20 if ip == nil {

Callers

nothing calls this directly

Calls 2

IPMaskMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected