Class Puppet::Util::LoadedFile
In: lib/puppet/util/loadedfile.rb
Parent: Object

Methods

changed?   new   stamp   to_s  

Attributes

file  [R] 
statted  [R] 
tstamp  [W]  Provide a hook for setting the timestamp during testing, so we don‘t have to depend on the granularity of the filesystem.

Public Class methods

Create the file. Must be passed the file path.

Public Instance methods

Determine whether the file has changed and thus whether it should be reparsed.

Retrieve the filestamp, but only refresh it if we‘re beyond our filetimeout

[Validate]