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