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

Function runtimeToString

frontend/src/data/DataProcessor.ts:274–286  ·  view source on GitHub ↗
(runtime: Runtime)

Source from the content-addressed store, hash-verified

272 }
273
274 const runtimeToString = (runtime: Runtime): string => {
275 let runtimeString = ''
276
277 if (runtime.name) {
278 runtimeString += runtime.name
279 }
280
281 if (options.showRuntimeVersion && runtime.version) {
282 runtimeString += versionToString(runtime.version)
283 }
284
285 return runtimeString
286 }
287
288 const operatingSystemToString = (os: OperatingSytem): string => {
289 let osString = []

Callers 1

queryDataFunction · 0.85

Calls 1

versionToStringFunction · 0.85

Tested by

no test coverage detected