Creates a new empty file at the specified path, similar to the touch command.
If the file already exists, this operation succeeds without modifying it.
Parent directories are created automatically if they don't exist.
Note: For temporary files, use mkTemp instead, which provides
automatic unique naming and integrates with pruneTemp for cleanup.
Parameters
filePath: string
The absolute path of the file to create.
Returns AsyncVoidIOResult
A promise that resolves to an AsyncVoidIOResult indicating success or failure.
Creates a new empty file at the specified path, similar to the
touchcommand. If the file already exists, this operation succeeds without modifying it. Parent directories are created automatically if they don't exist.Note: For temporary files, use mkTemp instead, which provides automatic unique naming and integrates with pruneTemp for cleanup.