    # File lib/chef/provider/remote_file.rb, line 76
          def matches_current_checksum?(candidate_file)
            Chef::Log.debug "#{@new_resource} checking for file existence of #{@new_resource.path}"
            if ::File.exists?(@new_resource.path)
              Chef::Log.debug "#{@new_resource} file exists at #{@new_resource.path}"
              @new_resource.checksum(checksum(candidate_file.path))
              Chef::Log.debug "#{@new_resource} target checksum: #{@current_resource.checksum}"
              Chef::Log.debug "#{@new_resource} source checksum: #{@new_resource.checksum}"

              @new_resource.checksum == @current_resource.checksum
            else
              Chef::Log.debug "#{@new_resource} creating #{@new_resource.path}"
              false
            end
          end