diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-11-10 15:13:24 -0500 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2013-11-10 15:13:24 -0500 |
commit | 016a8056f01221faa5ccee3581e488bd98650401 (patch) | |
tree | c28b7ca024cd236347f948b004a7a376728fec71 /core/lfs_ext.lua | |
parent | 4c01bce7d482d1f509f89e5b8304564007947a24 (diff) |
Updated LuaDoc.
Diffstat (limited to 'core/lfs_ext.lua')
-rw-r--r-- | core/lfs_ext.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/lfs_ext.lua b/core/lfs_ext.lua index 633aee50..1c19e389 100644 --- a/core/lfs_ext.lua +++ b/core/lfs_ext.lua @@ -7,7 +7,7 @@ module('lfs')]] --- -- The filter table containing common binary file extensions and version control --- folders to exclude when iterating over files and directories using +-- directories to exclude when iterating over files and directories using -- `dir_foreach` when its `exclude_FILTER` argument is `false`. -- @see dir_foreach -- @class table @@ -41,18 +41,18 @@ end --- -- Iterates over all files and sub-directories in directory *dir*, calling --- function *f* on each file found. --- Files *f* is called on do not match any pattern in string or table *filter*, +-- function *f* with each file found. +-- Files passed to *f* do not match any pattern in string or table *filter*, -- and, unless *exclude_FILTER* is `true`, `FILTER` as well. A filter table -- contains Lua patterns that match filenames to exclude, an optional `folders` --- sub-table that contains patterns matching folders to exclude, and an optional --- `extensions` sub-table that contains raw file extensions to exclude. Any --- patterns starting with '!' exclude files and folders that do not match the --- pattern that follows. +-- sub-table that contains patterns matching directories to exclude, and an +-- optional `extensions` sub-table that contains raw file extensions to exclude. +-- Any patterns starting with '!' exclude files and directories that do not +-- match the pattern that follows. -- @param dir The directory path to iterate over. -- @param f Function to call with each full file path found. If *f* returns -- `false` explicitly, iteration ceases. --- @param filter Optional filter for files and folders to exclude. +-- @param filter Optional filter for files and directories to exclude. -- @param exclude_FILTER Optional flag indicating whether or not to exclude the -- default filter `FILTER` in the search. If `false`, adds `FILTER` to -- *filter*. |