fs.list
From ComputerCraft Wiki
Revision as of 19:18, 22 April 2013 by Hawk777 (Talk | contribs) (Clarify that subdirectories’ contents are not returned)
| 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, which must be a directory |
| Part of | ComputerCraft |
| API | fs |