fs library

Functions

absolutePath(String paths) → String
deleteFile(String path) → bool
Delete a file with the given path
fileExist(String path) → bool
getApplicationName() → String
Return the name of the application
getFileName(String path) → String
listDirectory(String path, {bool recursive = true}) → List<String>
Recursively read files in a directory and its subdirectories
readFile(String path) → String
Read the content of a file
writeFile({required String cwd, required String content, bool force = false}) → bool
Write content to a file