MCPcopy
hub / github.com/cli/cli / String

Method String

pkg/cmdutil/flags.go:110–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func (b *boolValue) String() string {
111 if b.bool == nil || *b.bool == nil {
112 return "false"
113 } else if **b.bool {
114 return "true"
115 }
116 return "false"
117}
118
119func (b *boolValue) Type() string {
120 return "bool"

Callers 10

TestRecordTelemetryFunction · 0.45
checkJSONFlagsFunction · 0.45
checkFormatFlagsFunction · 0.45
Test_exportFormat_WriteFunction · 0.45
TestStructExportDataFunction · 0.45
TestWriteFunction · 0.45
ExcludeMethod · 0.45
VerifyMethod · 0.45
TestIOStreams_pagerFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestRecordTelemetryFunction · 0.36
Test_exportFormat_WriteFunction · 0.36
TestStructExportDataFunction · 0.36
TestWriteFunction · 0.36
TestIOStreams_pagerFunction · 0.36