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

Function cliLuaIsFile

Source/Basic/Application.cpp:231–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231int cliLuaIsFile(lua_State* L) {
232 std::error_code err;
233 lua_pushboolean(L, fs::is_regular_file(cliGetString(L, 1), err));
234 return 1;
235}
236
237int cliLuaMkdirs(lua_State* L) {
238 std::error_code err;

Callers

nothing calls this directly

Calls 3

is_regular_fileFunction · 0.85
cliGetStringFunction · 0.85
lua_pushbooleanFunction · 0.50

Tested by

no test coverage detected