WHFSFolder::EnsureFolder (open)
Get an folder, create if it doesn't exist.
Syntax
LOADLIB "mod::system/lib/internal/whfs/objects.whlib";
OBJECT FUNCTION EnsureFolder(RECORD requiredmetadata, RECORD optionalmetadata, RECORD options)
Parameters
RECORD requiredmetadata
The required metadata. The name cell is used to lookup the existing folder
RECORD optionalmetadata
Optional metadata, will only be used when creating the folder
RECORD options