| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Filesystem
Filesystem.Base

# Method Filesystem.Base()->get_dir()

Method get_dir

  `array(string) get_dir(void|string directory, void|string|array glob)`

Description

  Returns an array of all files and directories within a given directory.

Parameter `directory`

  Directory where the search should be made within the filesystem. CWD is assumed if none (or 0) is given.

Parameter `glob`

  Return only files and dirs matching the glob (if given).

See also

  [get_stats]