Debian Codegraph @

flag_string_map.go

raw symbols SCIP
1 package cliscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/
2
3 type (
4 StringMapscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringMap# = MapBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/MapBase#[string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, stringValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/stringValue#]
5 StringMapFlagscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringMapFlag# = FlagBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/FlagBase#[map[string]string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, StringMapscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringMap#]
6 )
7
8 var NewStringMapscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/NewStringMap. = NewMapBasescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/NewMapBase().[string, StringConfigscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/StringConfig#, stringValuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/stringValue#]
9
10 // StringMap looks up the value of a local StringMapFlag, returns
11 // nil if not found
12 func (cmd *Commandscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#) StringMapscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#StringMap().(name string) map[string]string {
13 if v, ok := cmd.Valuescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Value().(name).(map[string]string); ok {
14 tracefscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/tracef().("string map available for flag name %[1]q with value=%[2]v (cmd=%[3]q)", name, v, cmd.Namescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Name.)
15 return v
16 }
17
18 tracefscip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/tracef().("string map NOT available for flag name %[1]q (cmd=%[2]q)", name, cmd.Namescip-go gomod github.com/urfave/cli/v3 . `github.com/urfave/cli/v3`/Command#Name.)
19 return nil
20 }