# File lib/puppet/type/file/checksum.rb, line 186
186:     def insync?(currentvalue)
187:         @should = [checktype()]
188:         if cache(checktype())
189:             return currentvalue == currentsum()
190:         else
191:             # If there's no cached sum, then we don't want to generate
192:             # an event.
193:             return true
194:         end
195:     end