MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isHomebrewInstall

Function isHomebrewInstall

packages/cli/src/utils/installerDetection.ts:71–73  ·  view source on GitHub ↗

* True when the binary was linked into Homebrew's install tree. Homebrew * symlinks `/opt/homebrew/bin/hyperframes` into `…/Cellar/hyperframes/ /…` * (or `/usr/local/Cellar/` on Intel). Either path wins the match.

(realEntry: string)

Source from the content-addressed store, hash-verified

69 * (or `/usr/local/Cellar/` on Intel). Either path wins the match.
70 */
71function isHomebrewInstall(realEntry: string): boolean {
72 return normalizePath(realEntry).includes("/Cellar/hyperframes/");
73}
74
75/**
76 * Classify the install by walking the resolved entry path against each

Callers 1

detectInstallerFunction · 0.85

Calls 1

normalizePathFunction · 0.70

Tested by

no test coverage detected