Files
wren/doc/site/modules/io/directory.markdown
T

16 lines
374 B
Markdown
Raw Normal View History

2015-12-29 21:56:44 -08:00
^title Directory Class
A directory on the file system.
## Static Methods
2016-02-21 12:23:33 -08:00
### Directory.**exists**(path)
Whether a directory exists at `path`. This returns `false` for files or other
special file system entities.
2015-12-29 21:56:44 -08:00
### Directory.**list**(path)
Lists the contents of the directory at `path`. Returns a sorted list of path
strings for all of the contents of the directory.