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