MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / os_remove

Function os_remove

src/Chain/libraries/glua/loslib.cpp:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140
141static int os_remove(lua_State *L) {
142 const char *filename = luaL_checkstring(L, 1);
143 return luaL_fileresult(L, remove(filename) == 0, filename);
144}
145
146
147static int os_rename(lua_State *L) {

Callers

nothing calls this directly

Calls 2

luaL_fileresultFunction · 0.85
removeFunction · 0.50

Tested by

no test coverage detected