def FingerprintFiles(files):
  ret = {}

  for filename in files:
    cksum = _FingerprintFile(filename)
    if cksum:
      ret[filename] = cksum

  return ret
Compute fingerprints for a list of files.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/hash.py/FingerprintFiles