Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/spf13/pflag
/ String
Method
String
ipnet.go:12–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
type
ipNetValue net.IPNet
11
12
func
(ipnet ipNetValue) String() string {
13
n := net.IPNet(ipnet)
14
return
n.String()
15
}
16
17
func
(ipnet *ipNetValue) Set(value string) error {
18
_, n, err := net.ParseCIDR(strings.TrimSpace(value))
Callers
nothing calls this directly
Calls
2
IPNet
Method · 0.80
String
Method · 0.65
Tested by
no test coverage detected