Skip to main content
Writes content to a file, returning the absolute path written to. If the path is relative, it is resolved against the default cache location. When append is true and the file already has content, a newline is inserted before appending the new content. When append is false, the file is overwritten.

Parameters

string
required
string
required
boolean
required

Returns

string