"use strict";var _require=require("fs"),existsSync=_require.existsSync;var _require2=require("path"),resolve=_require2.resolve;function getGitClangFormatPath(osPlatform,architecture){var gitClangFormatPath=resolve(__dirname,"..","bin","cfg-".concat(osPlatform,"-").concat(architecture),"git-clang-format".concat(osPlatform==="win32"?".exe":""));if(!existsSync(gitClangFormatPath))throw new Error("No executable found for '".concat(osPlatform,"(OS platform)-").concat(architecture,"(architecture)'\nThe possible combinations are 'darwin-arm64', 'darwin-x64', 'linux-arm', 'linux-arm64', 'linux-ppc64', 'linux-s390x', 'linux-x64', 'win32-x64'"));return gitClangFormatPath}var getClangFormatGitPath=getGitClangFormatPath;module.exports={getGitClangFormatPath:getGitClangFormatPath,getClangFormatGitPath:getClangFormatGitPath};