utils/file_helper library
Functions
-
createDirectory(
String path) → void -
Creates the directory at
path, including any missing parent directories. Does nothing if it already exists. -
createFile(
String filePath, String content) → void -
Writes
contentto a new file atfilePath. If the file already exists, logs a warning and leaves it untouched instead of overwriting it.