Pike v8.0 release 1738

Method get_dir()


Method get_dir

array(string) get_dir(void|string dirname)

Description

Returns an array of all filenames in the directory dirname, or 0 (zero) if the directory does not exist. When no dirname is given, current work directory is used.

See also

mkdir(), cd()