Sha256: a05ecfbc01c049ef52599453e8eaf782f9caf137033e7a1f011990f1a8d2b3f6
Contents?: true
Size: 442 Bytes
Versions: 8
Compression:
Stored size: 442 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 File.stat(filename).ctime rescue Errno::ENOENT, Errno::ENOTDIR :absent end end) end end end
Version data entries
8 entries across 8 versions & 1 rubygems