cleCleanUpScratchCellViews
cleCleanUpScratchCellViews(t_libName[ ?discardPanicg_value] [ ?discardAutoSavedg_value] ) => t / nil
Description
Deletes all the scratch cellviews with the prefix zcleSCRATCH. These cellviews are saved by the auto-saved or panic files.
Arguments
|
Discards the scratch cellview from the saved panic file. The default is |
|
|
Discards the scratch cellview from the auto-saved file. The default is |
|
Value Returned
|
Scratch cellviews are not deleted or, there are no scratch cellviews to be deleted. |
Examples
Checks if a panic file is present in the Concurrent Layout design partition view CustomDigital/cleanUp/layout_cle_p1.
cleHasPanicFile("CustomDigital" "cleanUp" "layout_cle_p1")
=> t
Removes the panic scratch cellview.
cleCleanUpScratchCellViews("CustomDigital" ?discardPanic t)
(CLE-101062): Deleted 1 unused scratch cellviews from the disk.
- CustomDigital/zcleSCRATCH_cleanUp_<userId>_userEdit_panic/layout_cle_p1
=> t
Checks if an auto-saved file is present in the Concurrent Layout design partition view CustomDigital/cleanUp/layout_cle_p1.
cleHasAutoSavedFile("CustomDigital" "cleanUp" "layout_cle_p1")
=> t
Deletes the auto-saved scratch cellview.
cleCleanUpScratchCellViews("CustomDigital" ?discardAutoSaved t)
(CLE-101062): Deleted 1 unused scratch cellviews from the disk.
- CustomDigital/zcleSCRATCH_cleanUp_<userId>_userEdit_auto/layout_cle_p1
=> t
Return to top