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