fs.list
From ComputerCraft Wiki
Function fs.list | |
Returns a list of all the files (including subdirectories but not their contents) contained in a directory, as a numerically indexed table. | |
Syntax | fs.list(string path) |
Returns | table list of files and folders in path. If path is not a directory, an empty table is returned. |
Part of | ComputerCraft |
API | fs |