files-in-directory(dir a,[regex b],[types c],[can-read d])


Creates a semicolon-separated list of files and directories that resides in path a. Directories are marked with a trailing slash (/), semicolons in names are escaped with \

By using a regular expression b, it is possible to reduce the number of entries to only the ones matching a specific pattern, c allows the restrict entries only to be of type file (f), directories (d) or files and directories (fd). If d is set to true, only readable files and directories are added.

Description of Parameters

Parameter

Description

a

Relative or absolute path.

b

(optional) Regular expression reducing the added elements. Default: .*

c

(optional) Restriction to specific entry-types. Default: f

d

(optional) true to only let files and directories to be added if they are readable. Default: false.