md5_tstamp

Re-calculate md5 hashes of files only when the file time have changed:

def options(opt):
        opt.load('md5_tstamp')

The hashes can also reflect either the file contents (STRONGEST=True) or the file time and file size.

The performance benefits of this module are usually insignificant.

waflib.Tools.md5_tstamp.h_file(self)[source]

See waflib.Utils.h_file()

Returns

a hash representing the file contents

Return type

string or bytes