Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ MustParse
Function
MustParse
pkg/utils/bytesize/bytesize.go:146–152 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
144
}
145
146
func
MustParse(s string) int64 {
147
v, err := Parse(s)
148
if
err != nil {
149
log.PanicError(err,
"parse bytesize failed"
)
150
}
151
return
v
152
}
Callers
1
TestByteSize
Function · 0.70
Calls
2
PanicError
Method · 0.80
Parse
Function · 0.70
Tested by
1
TestByteSize
Function · 0.56