Anons79 Mini Shell

Directory : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/watcher.rb

module Puppet::Util::Watcher
  require 'puppet/util/watcher/timer'
  require 'puppet/util/watcher/change_watcher'
  require 'puppet/util/watcher/periodic_watcher'

  module Common
    def self.file_ctime_change_watcher(filename)
      Puppet::Util::Watcher::ChangeWatcher.watch(lambda do
        begin
          Puppet::FileSystem.stat(filename).ctime
        rescue Errno::ENOENT, Errno::ENOTDIR
          :absent
        end
      end)
    end
  end
end

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]