MCPcopy Create free account
hub / github.com/ethstorage/es-node / String

Method String

ethstorage/scanner/utils.go:160–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

158type status int
159
160func (s status) String() string {
161 switch s {
162 case ok:
163 return "ok"
164 case unreadable:
165 return "unreadable"
166 case pending:
167 return "pending"
168 case fixed:
169 return "fixed"
170 case recovered:
171 return "recovered"
172 case failed:
173 return "failed"
174 default:
175 return "unknown"
176 }
177}
178
179func shortPrt(nums []uint64) string {
180 if len(nums) == 0 {

Callers 5

ReadCLIConfigFunction · 0.45
startMethod · 0.45
launchFixLoopMethod · 0.45
logStatsMethod · 0.45
scanBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected