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

Method String

completions_test.go:680–682  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

678var _ SliceValue = (*customMultiString)(nil)
679
680func (s *customMultiString) String() string {
681 return fmt.Sprintf("%v", *s)
682}
683
684func (s *customMultiString) Set(v string) error {
685 *s = append(*s, v)

Callers 15

TestValidateFlagGroupsFunction · 0.80
TestProgWithDashFunction · 0.80
TestProgWithColonFunction · 0.80
TestActiveHelpForFlagFunction · 0.80
TestConfigActiveHelpFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected