Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ osClock
Function
osClock
oslib.go:70–73 ·
view source on GitHub ↗
(L *LState)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
osClock(L *LState) int {
71
L.Push(LNumber(float64(time.Now().Sub(startedAt)) / float64(time.Second)))
72
return
1
73
}
74
75
func
osDiffTime(L *LState) int {
76
L.Push(LNumber(L.CheckInt64(1) - L.CheckInt64(2)))
Callers
nothing calls this directly
Calls
2
LNumber
TypeAlias · 0.85
Push
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…