(l *State)
| 50 | } |
| 51 | |
| 52 | func searcherLua(l *State) int { |
| 53 | name := CheckString(l, 1) |
| 54 | filename, err := findFile(l, name, "path", string(filepath.Separator)) |
| 55 | if err != nil { |
| 56 | return 1 // Module not found in this path. |
| 57 | } |
| 58 | return checkLoad(l, LoadFile(l, filename, "") == nil, filename) |
| 59 | } |
| 60 | |
| 61 | func searcherPreload(l *State) int { |
| 62 | name := CheckString(l, 1) |
nothing calls this directly
no test coverage detected