MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / String

Method String

main.go:120–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118}
119
120func (l *PrefixList) String() string {
121 if l == nil || *l == nil {
122 return ""
123 }
124 parts := make([]string, 0, len([]netip.Prefix(*l)))
125 for _, part := range []netip.Prefix(*l) {
126 parts = append(parts, part.String())
127 }
128 return strings.Join(parts, ", ")
129}
130
131func (l *PrefixList) Value() []netip.Prefix {
132 return []netip.Prefix(*l)

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected