Last updated at 3:12 pm UTC on 9 March 2019
From the class comment:
A FileDirectory represents a folder or directory in the underlying platform's file system. It carries a fully-qualified path name for the directory it represents, and can enumerate the files and directories within that directory.
A FileDirectory can be thought of as a Dictionary whose keys are the local names of files in that directory, and whose values are directory "entries". Each entry is an array of five items:
The times are given in seconds, and can be converted to a time and date via Time>dateAndTimeFromSeconds:. See the comment in lookupEntry:... which provides primitive access to this information.
- FileDirectory default gives back a platform specific directory object (of a subclass of FileDirectory) denoting the directory where the image is in.
- FileDirectory default containingDirectory gives back a platform specific directory object (of a subclass of FileDirectory) denoting the parent directory where the image is in.
- FileDirectory default pathName gives back a string denoting the default directory.