MCPcopy
hub / github.com/containerd/containerd / String

Method String

pkg/filters/scanner.go:36–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34type token rune
35
36func (t token) String() string {
37 switch t {
38 case tokenEOF:
39 return "EOF"
40 case tokenQuoted:
41 return "Quoted"
42 case tokenValue:
43 return "Value"
44 case tokenField:
45 return "Field"
46 case tokenSeparator:
47 return "Separator"
48 case tokenOperator:
49 return "Operator"
50 case tokenIllegal:
51 return "Illegal"
52 }
53
54 return string(t)
55}
56
57func (t token) GoString() string {
58 return "token" + t.String()

Callers 15

GoStringMethod · 0.95
showContentMethod · 0.45
CommandFunction · 0.45
DescriptorToProtoFunction · 0.45
newFakeImageFunction · 0.45
ReaderAtMethod · 0.45
TestOperatorStringsFunction · 0.45
AppendInfoHandlerWrapperFunction · 0.45
getLayersFunction · 0.45
NewDebugClientTraceFunction · 0.45
testBaseDiffFunction · 0.45
cmdStreamFunction · 0.45

Calls

no outgoing calls

Tested by 10

newFakeImageFunction · 0.36
ReaderAtMethod · 0.36
TestOperatorStringsFunction · 0.36
testBaseDiffFunction · 0.36
TestClosedWriterGroupFunction · 0.36
TestAddGetRemoveWriterFunction · 0.36
TestReplaceWriterFunction · 0.36
TestWriteCloseInformerFunction · 0.36
TestNewAttachFunction · 0.36
baseTestLogURIGeneratorFunction · 0.36