MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isDistroFamily

Function isDistroFamily

src/utils/nativeInstaller/packageManagers.ts:45–53  ·  view source on GitHub ↗
(
  osRelease: { id: string; idLike: string[] },
  families: string[],
)

Source from the content-addressed store, hash-verified

43)
44
45function isDistroFamily(
46 osRelease: { id: string; idLike: string[] },
47 families: string[],
48): boolean {
49 return (
50 families.includes(osRelease.id) ||
51 osRelease.idLike.some(like => families.includes(like))
52 )
53}
54
55/**
56 * Detects if the currently running Claude instance was installed via mise

Callers 1

packageManagers.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected