MCPcopy Create free account
hub / github.com/Noumena-Network/code / isMuslHost

Function isMuslHost

src/shims/sharp/sharpBinding.cjs:5–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3const loadEmbeddedSharp = require('./loadEmbeddedSharp.cjs');
4
5function isMuslHost() {
6 const report = process.report?.getReport?.();
7 const glibcVersionRuntime = report?.header?.glibcVersionRuntime;
8 return process.platform === 'linux' && !glibcVersionRuntime;
9}
10
11function resolveRuntimeAssets() {
12 if (process.platform !== 'linux' || process.arch !== 'x64') {

Callers 1

resolveRuntimeAssetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected