From b380637cebac06176b405c0dafd2a92abfd980fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?LAURENS=20J=C3=A9r=C3=B4me?= Module
is Windows paths to allow both forward and backward slashes (since Lua
also accepts those)pl.path
The only important external dependence of Penlight is -LuaFileSystem -(lfs), and if you want dir.copyfile to work cleanly on Windows, you will need +LuaFileSystem, and if you want dir.copyfile to work cleanly on Windows, you will need either alien or be using LuaJIT as well. (The fallback is to call the equivalent shell commands.)
diff --git a/docs/manual/04-paths.md.html b/docs/manual/04-paths.md.html index 03295a9d..cb29cbcd 100644 --- a/docs/manual/04-paths.md.html +++ b/docs/manual/04-paths.md.html @@ -240,7 +240,7 @@fnmatch
module. getdirectories
will return all
directories contained in a directory, and getfiles
will return all files in a
directory which match a shell pattern. These functions return the files as a
-table, unlike lfs.dir which returns an iterator.)
+table, unlike lfs.dir which returns an iterator.)
dir.makepath can create a full path, creating subdirectories as necessary;
rmtree
is the Nuclear Option of file deleting functions, since it will