MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / cliLuaExists

Function cliLuaExists

Source/Basic/Application.cpp:219–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219int cliLuaExists(lua_State* L) {
220 std::error_code err;
221 lua_pushboolean(L, fs::exists(cliGetString(L, 1), err));
222 return 1;
223}
224
225int cliLuaIsDir(lua_State* L) {
226 std::error_code err;

Callers

nothing calls this directly

Calls 3

existsFunction · 0.85
cliGetStringFunction · 0.85
lua_pushbooleanFunction · 0.50

Tested by

no test coverage detected