utils/file_helper library

Functions

createDirectory(String path) → void
Creates a directory at path (including any missing parents). Does nothing if it already exists.
createDirectoryWithFile(String dirPath, String fileName, String content) → void
Creates dirPath then writes a file named fileName inside it with the given content.
createFile(String path, String content) → void
Creates a file at path and writes content to it. Does nothing if the file already exists.