Jido.Actions.Files (Jido v1.2.0)
View SourceA collection of file system actions for common file operations.
This module provides a set of actions for working with files and directories:
- WriteFile: Writes content to a file with optional directory creation
- ReadFile: Reads content from a file
- CopyFile: Copies a file from source to destination
- MoveFile: Moves/renames a file from source to destination
- DeleteFile: Deletes a file or directory with optional recursive deletion
- MakeDirectory: Creates a new directory with optional recursive creation
- ListDirectory: Lists directory contents with optional pattern matching and recursion
Each action is implemented as a separate submodule and follows the Jido.Action behavior. The actions provide comprehensive file system operations with error handling and options like recursive deletion, force flags, and parent directory creation.