import {HashResult, HashType} from '../types/hash-result' export const makeResult = (progressiveHash: any): HashResult => ({ sha256: progressiveHash.digest('hex'), type: HashType.File })