import crypto from "crypto"; /* ****************************************************************************************************************** */ // region: Type Utils /* ****************************************************************************************************************** */ /** * Make certain properties partial */ export type PartialSome = Omit & Pick, K> // endregion /* ****************************************************************************************************************** */ // region: Crypto Utils /* ****************************************************************************************************************** */ export function getHash(fileContent: string) { return crypto.createHash('md5').update(fileContent).digest('hex'); } // endregion