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

Function close

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

Source from the content-addressed store, hash-verified

82}
83
84func close(l *State) int {
85 if l.IsNone(1) {
86 l.Field(RegistryIndex, output)
87 }
88 toFile(l)
89 return closeHelper(l)
90}
91
92func write(l *State, f *os.File, argIndex int) int {
93 var err error

Callers 1

closeHelperFunction · 0.85

Calls 4

toFileFunction · 0.85
closeHelperFunction · 0.85
IsNoneMethod · 0.80
FieldMethod · 0.80

Tested by

no test coverage detected