the paths the Dir Class constructor
the name of the directory
the parent directory of the directory
the path of the directory
the root of the directory
The timestamp indicating when the file have been created
The timestamp indicating the last time this file was accessed.
The timestamp indicating the last time this file status was changed.
The timestamp indicating the last time this file was modified.
the size of the file
copy the directory to another location
the destination folder
rename the folder copy
if true resolves the destination path based on the dir path
creates the directory (if it doesn't exits)
create a directory inside the directory
the name of the directory
create parent directories if doesn't exits
create a file inside the directory
the file you want to create
create parent directories if doesn't exits
deletes the directory even if it's not empty
deletes every directory the matches the regex in the dir and sub dir
the regex
delete every file the matches the regex passed in
the regex
delete every thing (where it's a file or a folder) that matches the regex passed in
the regex
returns true if the directory exists
loops through every thing inside the directory
the callback
options
loops through every directory inside the directory
the callback
options
loops through every file inside the directory
the callback
options
gets a folder inside the directory
gets a file inside the directory
get the stats of the directory
move the directory to another location
the destination folder
rename the folder
if true resolves the destination path based on the dir path
reads the directory
reads te directory and convert it to File and Dir objects
rename the directory
the newName
get the stats of the directory
stops watching the directory
watches the directory
create a dir in the tmp directory
Generated using TypeDoc
the Dir Class is used to help you work with folders