Extracting folder move operations to a FolderMover class.
This improves maintainability as well as doesn't update the db row until the folder was actually successfully moved on disk. This keeps db / filesystem in sync.
Showing
Please register or sign in to comment