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

Function readable

load.go:81–87  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

79}
80
81func readable(filename string) bool {
82 f, err := os.Open(filename)
83 if f != nil {
84 f.Close()
85 }
86 return err == nil
87}
88
89func searchPath(l *State, name, path, sep, dirSep string) (string, error) {
90 var msg string

Callers 1

searchPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected