v6.0.0 - Show latest stable - 0 notes - Class: ActiveSupport::FileUpdateChecker
max_mtime(paths) private

This method returns the maximum mtime of the files in paths, or nil if the array is empty.

Files with a mtime in the future are ignored. Such abnormal situation can happen for example if the user changes the clock by hand. It is healthy to consider this edge case because with mtimes in the future reloading is not triggered.

Show source
Register or log in to add new notes.