    # File lib/chef/provider/deploy.rb, line 338
          def purge_tempfiles_from_current_release
            log_info = @new_resource.purge_before_symlink.join(", ")
            converge_by("purge directories in checkout #{log_info}") do
              @new_resource.purge_before_symlink.each { |dir| FileUtils.rm_rf(release_path + "/#{dir}") }
              Chef::Log.info("#{@new_resource} purged directories in checkout #{log_info}")
            end
          end