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

Function cliLuaIsDir

Source/Basic/Application.cpp:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225int cliLuaIsDir(lua_State* L) {
226 std::error_code err;
227 lua_pushboolean(L, fs::is_directory(cliGetString(L, 1), err));
228 return 1;
229}
230
231int cliLuaIsFile(lua_State* L) {
232 std::error_code err;

Callers

nothing calls this directly

Calls 3

is_directoryFunction · 0.85
cliGetStringFunction · 0.85
lua_pushbooleanFunction · 0.50

Tested by

no test coverage detected