VolumeDirectory¶
Represents a directory on a kOS file system.
Instances of this class are enumerable, every step of iteration will provide a VolumeFile or a VolumeDirectory contained in this directory.
- structure VolumeDirectory¶
- Members¶ - Suffix - Type - Description - All suffixes of - VolumeItem- VolumeDirectoryobjects are a type of- VolumeItem- LEXICONof- VolumeFileor- VolumeDirectory- Lists all files and directories - LEXICONof- VolumeFileor- VolumeDirectory- Alias for - LEXICON- LEXICONof- VolumeFileor- VolumeDirectory- Alias for - LEXICON
- VolumeDirectory:LEXICON()¶
- Returns
- Lexiconof- VolumeFileor- VolumeDirectory
 - Returns a Lexicon of all files and directories in this directory, with each pair in the Lexcion having the string name of the file or directory as the key, and the - VolumeFileor- VolumeDirectoryitself as the value.
- VolumeDirectory:LEX()¶
- An alias for - LEXICON.
- VolumeDirectory:LIST()¶
- An alias for - LEXICON. It’s slightly wrong that a method called “List” returns a Lexicon instead of a List, but it has been that way long enough that now for backward compatibility, the name “List” had to remain as an alias for this method.