mirror of
https://github.com/EngineerSmith/nativefs.git
synced 2025-11-08 23:15:02 +00:00
update README
This commit is contained in:
@@ -60,7 +60,7 @@ Function names in this list are links to their LÖVE `File` counterparts. `File`
|
||||
local nativefs = require("nativefs")
|
||||
|
||||
-- deletes all files in C:\Windows
|
||||
local files = nativefs.getDirectoryItems('C:/Windows`)
|
||||
local files = nativefs.getDirectoryItems("C:/Windows")
|
||||
for i = 1, #files do
|
||||
nativefs.remove("C:/Windows/" .. files[i])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user