build.hashers.mtime

Special meaning of keys?
No, but they must have an associated file name.

This simple hasher will record the modification times of a key and mark it as dirty if it changes.

Usage

local Hasher = require "build.hashers.mtime" (Posix_File_System, File_Of_Key)
local hasher = Hasher.create(posix_file_system)

Notes

Same note from the mtime rebuilder about file-less keys applies here.

See Also