MCPcopy Create free account
hub / github.com/cppla/ServerStatus / pick

Function pick

web/js/app.js:54–54  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

52 if(!os) return '';
53 const v = String(os).toLowerCase();
54 const pick = (k)=>' os-'+k;
55 if(v.includes('ubuntu')) return pick('ubuntu');
56 if(v.includes('debian')) return pick('debian');
57 if(v.includes('centos')) return pick('centos');

Callers 1

osClassFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected