Module touch::file
[−]
[src]
This module contains basic methods to manipulate the contents of local files. All methods in this module represent cross-platform filesystem operations.
Functions
create |
Creates the file indicated by the provided path. If truncate is |
delete |
Idempotently deletes the file indicated by the provided path. |
read |
Reads the contents of the file indicated by the provided path into a String. |
write |
Creates the file indicated by the provided path and writes the
contents if the content string is not empty. If truncate is |