fs::delete_folder (public)
fs::delete_folder -folder_id folder_id [ -cascade_p cascade_p ] \ [ -parent_id parent_id ] [ -no_callback ] [ -no_notifications ]
Defined in packages/file-storage/tcl/file-storage-procs.tcl
Deletes a folder and all contents. Note that we do not perform filesystem operations here. A trigger on cr_revisions informs the content repository about the deletion and periodic cleanup of files to be deleted is performed in a scheduled procedure.
- Switches:
- -folder_id (required)
- -cascade_p (optional, defaults to
"t"
)- -parent_id (optional)
- -no_callback (optional, boolean)
- -no_notifications (optional, boolean)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- fs_create_folder_using_api