function cacheFileChecksum(p, checksum) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
        const md5 = yield getFileChecksum(p);
        yield fs.writeFile(`${p}.md5`, md5, { encoding: 'utf8' });
    });
}
/**
 * Store a cache file containing the source file's md5 checksum hash.
 *
 * @param p The file path
 * @param checksum The checksum. If excluded, the checksum is computed
 */
Store a cache file containing the source file's md5 checksum hash.
@param p The file path
@param checksum The checksum. If excluded, the checksum is computed
Store a cache file containing the source file ' s md5 checksum hash . @param p The file path @param checksum The checksum . If excluded the checksum is computed
function cacheFileChecksum(p, checksum) {
    return tslib_1.__awaiter(this, void 0, void 0, function* () {
        const md5 = yield getFileChecksum(p);
        yield fs.writeFile(`${p}.md5`, md5, { encoding: 'utf8' });
    });
}
function cacheFileChecksum ( p , checksum ) { return tslib_1 . __awaiter ( this , void 0 , void 0 , function * ( ) { const md5 = yield getFileChecksum ( p ) ; yield fs . writeFile ( ` ${ p } ` , md5 , { encoding : 'utf8' } ) ; } ) ; }
Store a cache file containing the source file's md5 checksum hash.
Store a cache file containing the source file ' s md5 checksum hash .