MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / Set

Method Set

pkg/util/flag/string_flag.go:43–48  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

41}
42
43func (f *StringFlag) Set(value string) error {
44 f.value = value
45 f.provided = true
46
47 return nil
48}
49
50func (f StringFlag) Provided() bool {
51 return f.provided

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected