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

Function toStream

io.go:19–19  ·  view source on GitHub ↗
(l *State)

Source from the content-addressed store, hash-verified

17}
18
19func toStream(l *State) *stream { return CheckUserData(l, 1, fileHandle).(*stream) }
20
21func toFile(l *State) *os.File {
22 s := toStream(l)

Callers 5

toFileFunction · 0.85
newFileFunction · 0.85
closeHelperFunction · 0.85
io.goFile · 0.85
dontCloseFunction · 0.85

Calls 1

CheckUserDataFunction · 0.85

Tested by

no test coverage detected