MCPcopy Create free account
hub / github.com/devspace-sh/devspace / NewStringValue

Function NewStringValue

cmd/flags/flags.go:73–76  ·  view source on GitHub ↗
(val string, p *string)

Source from the content-addressed store, hash-verified

71type StringValue string
72
73func NewStringValue(val string, p *string) *StringValue {
74 *p = val
75 return (*StringValue)(p)
76}
77
78func (s *StringValue) Set(val string) error {
79 *s = StringValue(val)

Callers 1

SetGlobalFlagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected