MCPcopy Index your code
hub / github.com/yuin/gopher-lua / OpenOs

Function OpenOs

oslib.go:49–53  ·  view source on GitHub ↗
(L *LState)

Source from the content-addressed store, hash-verified

47}
48
49func OpenOs(L *LState) int {
50 osmod := L.RegisterModule(OsLibName, osFuncs)
51 L.Push(osmod)
52 return 1
53}
54
55var osFuncs = map[string]LGFunction{
56 "clock": osClock,

Callers

nothing calls this directly

Calls 2

RegisterModuleMethod · 0.80
PushMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…