MCPcopy Create free account
hub / github.com/redis/RedisInsight / hasPath

Function hasPath

scripts/verify-native-modules-linux.js:19–19  ·  view source on GitHub ↗
(targetPath)

Source from the content-addressed store, hash-verified

17 targetArch === 'arm64' ? /(arm64|aarch64)/i : /(x64|amd64)/i
18
19const hasPath = (targetPath) => fs.existsSync(targetPath)
20
21const loadJson = (filePath) => JSON.parse(fs.readFileSync(filePath, 'utf8'))
22

Callers 2

discoverAsarUnpackedDirsFunction · 0.85
verifyBinariesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected