Returns a table of strings - one entry per file and subfolder inside path.
listfiles(path: string?): {string}
path is workspace-relative. Call listfiles() with no argument and you get the workspace root itself - note this only works when the argument is omitted entirely, passing an empty string (listfiles("")) does not. The listing is one level deep - subfolders show up as entries, but their contents don’t. To walk a tree, recurse with isfolder on each entry.