Skip to content

Std filesystem createfile

std:std.filesystem.CreateFile

Function CreateFile:Bool( path:String,createDir:Bool=true )#

Creates a file at a filesystem path.

Any existing file at the path will be overwritten.

Returns true if successful.

Parameters
path path The filesystem path of the file file to create.
createDir createDir If true, also creates the file directory if necessary.