Skip to main content

ll_searchpath

Function ll_searchpath 

Source
pub fn ll_searchpath(state: &mut LuaState) -> Result<usize, LuaError>
Expand description

package.searchpath(name, path [, sep [, rep]]).

Returns the first readable file in path with sep occurrences in name replaced by rep. On failure returns false plus the error message.