MCPcopy Create free account
hub / github.com/DFHack/dfhack / internal_removeScriptPath

Function internal_removeScriptPath

library/LuaApi.cpp:4138–4143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4136}
4137
4138static int internal_removeScriptPath(lua_State *L)
4139{
4140 const char *path = luaL_checkstring(L, 1);
4141 lua_pushboolean(L, Core::getInstance().removeScriptPath(path));
4142 return 1;
4143}
4144
4145static int internal_getScriptPaths(lua_State *L)
4146{

Callers

nothing calls this directly

Calls 2

lua_pushbooleanFunction · 0.85
removeScriptPathMethod · 0.80

Tested by

no test coverage detected