It is used from both `compareLastModifiedTime` and `compareHashDigest`. I do not want to copy & paste the same code twice (you youself suggested extracting `sha1` calculation below for DRY purposes).