method

max_mtime

Importance_1
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.