MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / String

Method String

internal/utils/fs/status.go:17–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15type Speed int
16
17func (this Speed) String() string {
18 switch this {
19 case SpeedExtremelyFast:
20 return "extremely fast"
21 case SpeedFast:
22 return "fast"
23 case SpeedLow:
24 return "low"
25 case SpeedExtremelySlow:
26 return "extremely slow"
27 }
28 return "unknown"
29}
30
31const (
32 SpeedExtremelyFast Speed = 1

Callers 2

NewFastTimeFunction · 0.45
TestHashFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestHashFunction · 0.36