def get_sum(path, form='sha256'):
    path = os.path.expanduser(path)

    if not os.path.isfile(path):
        return 'File not found'
    return salt.utils.get_hash(path, form, 4096)
One market param per engine is mandatory
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/get_sum--crossover with--dataset/ETHPy150Open jcbagneris/fms/tests/utils.py/XmlParserTests.testMarketMandatory