Sha256: 02cc5cb9651d33cee8adb243c052c726ba493557166dff2fcd2e46e16b9ba663
Contents?: true
Size: 456 Bytes
Versions: 627
Compression:
Stored size: 456 Bytes
Contents
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
Version data entries
627 entries across 627 versions & 3 rubygems