Search paths in require/packages
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Search paths in require/packages
- From: Robert Virding <robert.virding@...>
- Date: 2013年11月14日 10:57:58 +0100 (CET)
In require/package module there are two search paths defined: path for finding a Lua loader, and cpath for finding a C loader. There is a function package.searchpath for traversing a path to find a file. However, I can't seem to find a path for finding the actual module to load. Is there one, if so where is it? If not, how is normally this handled.
Robert