MCPcopy Create free account
hub / github.com/ethereum/node-crawler / versionToString

Function versionToString

frontend/src/data/DataProcessor.ts:256–272  ·  view source on GitHub ↗
(version: Version)

Source from the content-addressed store, hash-verified

254 })
255
256 const versionToString = (version: Version): string => {
257 let versionString = '' + version.major
258
259 if (version.minor !== undefined) {
260 versionString += '.' + version.minor
261 }
262
263 if (version.patch !== undefined) {
264 versionString += '.' + version.patch
265 }
266
267 if (version.tag !== undefined) {
268 versionString += '-' + version.tag
269 }
270
271 return versionString
272 }
273
274 const runtimeToString = (runtime: Runtime): string => {
275 let runtimeString = ''

Callers 2

runtimeToStringFunction · 0.85
queryDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected