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

Function cliGetString

Source/Basic/Application.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120};
121
122std::string cliGetString(lua_State* L, int index) {
123 size_t len = 0;
124 auto str = luaL_checklstring(L, index, &len);
125 return {str, len};
126}
127
128fs::path cliAbsolutePath(const fs::path& path, const fs::path& base = fs::current_path()) {
129 return fs::absolute(path.is_relative() ? base / path : path).lexically_normal();

Callers 13

cliLuaEnvFunction · 0.85
cliLuaAbsoluteFunction · 0.85
cliLuaExistsFunction · 0.85
cliLuaIsDirFunction · 0.85
cliLuaIsFileFunction · 0.85
cliLuaMkdirsFunction · 0.85
cliLuaReadFileFunction · 0.85
cliLuaWriteFileFunction · 0.85
cliLuaListDirFunction · 0.85
cliLuaMTimeFunction · 0.85
cliLuaSystemFunction · 0.85
cliLuaHttpFunction · 0.85

Calls 1

luaL_checklstringFunction · 0.50

Tested by

no test coverage detected