Constructor
File.Default Constructor
Syntax
File(file_path, truncate = false)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
file_path
|
string | — | If on Server, this is the Path relative to server executable. Otherwise if on Client, this is the Path relative to Client's 'Packages/.transient/' folder |
truncate
optional
|
boolean | false |
Whether or not to clear the file upon opening it |