MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / os_remove

Function os_remove

extlibs/lua/src/loslib.c:154–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152
153
154static int os_remove (lua_State *L) {
155 const char *filename = luaL_checkstring(L, 1);
156 return luaL_fileresult(L, remove(filename) == 0, filename);
157}
158
159
160static int os_rename (lua_State *L) {

Callers

nothing calls this directly

Calls 2

removeFunction · 0.85
luaL_fileresultFunction · 0.70

Tested by

no test coverage detected