MCPcopy Create free account
hub / github.com/goplus/py / AsModule

Function AsModule

module.go:59–64  ·  view source on GitHub ↗
(o *Base)

Source from the content-addressed store, hash-verified

57}
58
59func AsModule(o *Base) (v *Module, ok bool) {
60 if ok = C.moduleCheck(o.c()) != 0; ok {
61 v = newModule(o.c())
62 }
63 return
64}
65
66func (mod *Module) CheckExact() bool {
67 return C.moduleCheckE(mod.c()) != 0

Callers

nothing calls this directly

Calls 2

newModuleFunction · 0.85
cMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…