std.filesystem.CreateFile - nitrologic/monkey2 GitHub Wiki
std::std.filesystem.CreateFile
Function CreateFile:monkey:monkey.types.Bool( path:monkey:monkey.types.String,createDir:monkey:monkey.types.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. |