MCPcopy Index your code
hub / github.com/Shopify/go-lua / OSOpen

Function OSOpen

os.go:144–147  ·  view source on GitHub ↗

OSOpen opens the os library. Usually passed to Require.

(l *State)

Source from the content-addressed store, hash-verified

142
143// OSOpen opens the os library. Usually passed to Require.
144func OSOpen(l *State) int {
145 NewLibrary(l, osLibrary)
146 return 1
147}

Callers

nothing calls this directly

Calls 1

NewLibraryFunction · 0.85

Tested by

no test coverage detected