# File lib/puppet/util/loadedfile.rb, line 17 17: def changed? 18: # Allow the timeout to be disabled entirely. 19: if Puppet[:filetimeout] < 0 20: return true 21: end 22: tmp = stamp() 23: 24: # We use a different internal variable than the stamp method 25: # because it doesn't keep historical state and we do -- that is, 26: # we will always be comparing two timestamps, whereas 27: # stamp() just always wants the latest one. 28: if tmp == @tstamp 29: return false 30: else 31: @tstamp = tmp 32: return @tstamp 33: end 34: end