Home
Download
Manual
SourceForge
Credits
paths.files(dname)
Torch Manual
>
Filename Manipulation Package
>
Accessing directories
>
paths.files(dname)
Returns an iterator over the files located in directory
dname
. This can be used in
for
expression as shown below:
for f in paths.files(".") do print(f) end