MCPcopy Create free account
hub / github.com/nodejs/node / getId

Function getId

deps/npm/test/lib/utils/log-file.js:13–13  ·  view source on GitHub ↗
(d = new Date())

Source from the content-addressed store, hash-verified

11t.cleanSnapshot = (s) => cleanDate(cleanCwd(s))
12
13const getId = (d = new Date()) => d.toISOString().replace(/[.:]/g, '_')
14const last = arr => arr[arr.length - 1]
15const range = (n) => Array.from(Array(n).keys())
16const makeOldLogs = (count, oldStyle) => {

Callers 2

makeOldLogsFunction · 0.85
loadLogFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected