MCPcopy Create free account
hub / github.com/facebook/time / String

Method String

servo/servo.go:42–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40)
41
42func (s State) String() string {
43 switch s {
44 case StateInit:
45 return "INIT"
46 case StateJump:
47 return "JUMP"
48 case StateLocked:
49 return "LOCKED"
50 case StateFilter:
51 return "FILTER"
52 case StateHoldover:
53 return "HOLDOVER"
54 }
55 return "UNSUPPORTED"
56}
57
58// DefaultServoConfig generates default servo struct
59func DefaultServoConfig() Servo {

Callers 12

processResultsMethod · 0.95
ParseVersionMethod · 0.45
TestLoggingPortTeesBytesFunction · 0.45
getDevlinkBoardIDFunction · 0.45
TestLocalSourceVersionFunction · 0.45
TestStateStringFunction · 0.45
TestDummyLoggerLogFunction · 0.45
FetchGMsMethod · 0.45
TestCSVLogger_LogFunction · 0.45

Calls

no outgoing calls

Tested by 8

TestLoggingPortTeesBytesFunction · 0.36
TestLocalSourceVersionFunction · 0.36
TestStateStringFunction · 0.36
TestDummyLoggerLogFunction · 0.36
TestCSVLogger_LogFunction · 0.36