getRegularFiles

Gets regular files from the directory.

getRegularFiles
(
string dir
,
Flag!"hidden" hidden = Yes.hidden
,
Flag!"recursively" recursively = No.recursively
,
Flag!"absPath" saveAbsolutePath = Yes.absPath
)

Parameters

dir string

Directory for listing regular files.

hidden Flag!"hidden"

Whether to include hidden files. Yes, by default.

recursively Flag!"recursively"

Whether to search in subdirectories. No, by default.

saveAbsolutePath Flag!"absPath"

Whether to write the full path. Yes, by default.

Meta