MCPcopy Index your code
hub / github.com/ethereum/node-crawler / operatingSystemToString

Function operatingSystemToString

frontend/src/data/DataProcessor.ts:288–300  ·  view source on GitHub ↗
(os: OperatingSytem)

Source from the content-addressed store, hash-verified

286 }
287
288 const operatingSystemToString = (os: OperatingSytem): string => {
289 let osString = []
290
291 if (os.vendor) {
292 osString.push(os.vendor)
293 }
294
295 if (options.showOperatingSystemArchitecture && os.architecture) {
296 osString.push(os.architecture)
297 }
298
299 return osString.join('-')
300 }
301
302 const cache = {
303 clients: SortedMap<string, number>((a, b) => b[1] - a[1]),

Callers 1

queryDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected