Appends a string to the end of a file. Creates the file if it does not exist.
Example:
var path = new Path ("/tmp/log.txt");
Files.appendText (path, "new log entry\n");
| path |
path to the file. |
| text |
the string to append. |
|
true if append succeeded, false otherwise. |