destination
The file system destination of the created file.
Declaration
var destination: es_event_create_t.__Unnamed_union_destinationDiscussion
To parse this union, check the destination_type to determine whether the file already exists:
If the destination_type is ES_DESTINATION_TYPE_EXISTING_FILE, the union contains an es_file_t member called
existing_file.If the destination_type is ES_DESTINATION_TYPE_NEW_PATH, the union contains a
structcallednew_path, indicating the file’s proposed destination. The structure consists of an es_file_t calleddirfor the parent directory, an es_string_token_t calledfilename, and a mode_t calledmode.