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
dirPaththen writes a file namedfileNameinside it with the givencontent. -
createFile(
String path, String content) → void -
Creates a file at
pathand writescontentto it. Does nothing if the file already exists.