MCPcopy Create free account
hub / github.com/devld/go-drive / ToInt

Function ToInt

common/utils/utils.go:164–166  ·  view source on GitHub ↗
(s string, def int)

Source from the content-addressed store, hash-verified

162}
163
164func ToInt(s string, def int) int {
165 return types.SV(s).Int(def)
166}
167
168func ToUInt(s string, def uint) uint {
169 return types.SV(s).Uint(def)

Callers 4

mapErrorFunction · 0.92
searchMethod · 0.92
getAllExecutionsMethod · 0.92
executeJobMethod · 0.92

Calls 2

SVTypeAlias · 0.92
IntMethod · 0.80

Tested by

no test coverage detected