MCPcopy Create free account
hub / github.com/akash-network/provider / parseMemory

Function parseMemory

bidengine/shellscript.go:59–61  ·  view source on GitHub ↗
(res *rtypes.Memory)

Source from the content-addressed store, hash-verified

57}
58
59func parseMemory(res *rtypes.Memory) uint64 {
60 return res.Quantity.Val.Uint64()
61}
62
63func parseGPU(resource *rtypes.GPU) gpuElement {
64 res := gpuElement{

Callers 1

newDataForScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected