utils/file_helper library

Functions

createDirectory(String path) bool
Creates a directory at path (including any missing parents).
createDirectoryWithFile(String dirPath, String fileName, String content) bool
Creates dirPath then writes a file named fileName inside it with the given content.
createFile(String path, String content) bool
Creates a file at path and writes content to it.