Built-in Actions
Every file management operation in Sanchaya is isolated into a dedicated action class, making it completely unit-testable and extensible.
| Action | Class | Description |
|---|---|---|
CreateFolder | CreateFolderAction | Creates a folder record and builds hierarchical paths. |
Rename | RenameAction | Renames files on disk and cascades path updates to all child files/folders. |
Move | MoveAction | Moves files or folders to another folder or disk, transfers file contents, and updates descendant paths. |
Copy | CopyAction | Deep copies files or entire folder subtrees with conflict resolution naming. |
Delete | DeleteAction | Handles soft deletion, cascade restoration, and permanent file/storage purging. |
Download | DownloadAction | Streams single files inline/attachment or zips entire folders/bulk selections on the fly. |