MCPcopy Create free account
hub / github.com/DFHack/dfhack / os_remove

Function os_remove

depends/lua/src/loslib.c:153–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

luaL_fileresultFunction · 0.85

Tested by

no test coverage detected