aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_cpp.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2021-06-24 13:54:22 -0400
committerjgmdev <jgmdev@gmail.com>2021-06-28 11:07:27 -0400
commit4188269cef2f98f360089344f6dcfe079addedb1 (patch)
tree6062697c4abcbce8ee6e826108d4bf80406d1f8d /data/plugins/language_cpp.lua
parent83a604dfb76649e06e983799daa00a8d8a57cc59 (diff)
downloadpragtical-4188269cef2f98f360089344f6dcfe079addedb1.tar.gz
pragtical-4188269cef2f98f360089344f6dcfe079addedb1.zip
Added system.rmdir(path)
It is reported that the built-in lua function os.remove(path) does not removes empty directories on windows. To fix this a system.rmdir function is introduced that calls a native win32 function. Also common.rm(path, recursively) was added which wraps system.rmdir() to easily delete an entire folder with all its contents.
Diffstat (limited to 'data/plugins/language_cpp.lua')
0 files changed, 0 insertions, 0 deletions