public createFile(parent as FolderPath, name as String) as FilePath
Creates an empty file without truncating an existing file. Refreshes its parent's branch and selects the new entry.
| Parameter | Description |
|---|---|
parent | Physical folder within this tree. |
name | One filename component. |
Newly created file.
file = tree.createFile(Path.cwd, "notes.txt")