Directory object

The Directory object manages folders and their contents on disk

Operation Description
Directory iteration Iterate over the Directory
Property Description Access Type
Directory.accessed Get/set last time the Directory was accessed readwrite
Directory.created Get/set the Directory creation date and time readwrite
Directory.exists Check if the Directory exists readonly boolean
Directory.fullpath Get the Directory fullpath readonly string
Directory.hidden Check if directory is hidden readwrite boolean
Directory.isempty Check if the Directory is empty readonly boolean
Directory.modified Get/set last time the Directory was accessed readwrite
Directory.name Get the Directory name readonly string
Directory.parent Get the parent directory readonly
Methods Description Return value
Directory:constructor() Directory object constructor
Directory:copy() Copy a Directory to a new one boolean
Directory:copytask() Copy a Directory to a new one asynchronously
Directory:list() Iterate over a Directory using a filter function
Directory:make() Create the directory physically on the disk boolean
Directory:move() Move the Directory to another location boolean
Directory:remove() Delete the Directory from the disk boolean
Directory:removeall() Delete the Directory with all its content boolean