MCPcopy Create free account
hub / github.com/blockmatic/basilic / getPlatform

Function getPlatform

scripts/setup-database.mjs:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96}
97
98function getPlatform() {
99 const osPlatform = platform()
100 if (osPlatform === 'darwin') return 'macos'
101 if (osPlatform === 'linux') return 'linux'
102 if (osPlatform === 'win32') return 'win32'
103 return 'linux'
104}
105
106function checkBrewAvailable() {
107 try {

Callers 4

installDockerFunction · 0.70
checkDockerComposeFunction · 0.70
installSupabaseFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected