Skip to content

file.children

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get list of file and directory names in the given directory

Parameters

Parameter Default Value Note
path

Return value

Condition Return Value
(always) list

Notes

Example

import "file"
names = file.children(".")
for n in names
    print n
end for

Clone this wiki locally