Remove file/directory on finalize, do nothing on rollback.
If path is directory, it removal will be done in the reverse order at the end of the transaction. This helps to simplify upgrade command.
- Parameters:
-
| path | File/directory path. |
| is_dir | Path points to a directory. |