MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / makeKey

Function makeKey

lib/stats.ts:120–122  ·  view source on GitHub ↗
(now: Date)

Source from the content-addressed store, hash-verified

118}
119
120function makeKey(now: Date): string {
121 return `year=${now.getUTCFullYear()}/month=${now.getUTCMonth()}/date=${now.getUTCDate()}/${now.toISOString()}.json`;
122}
123
124class StatsNoter implements IStatsNoter {
125 private _statsQueue: CompilationRecord[];

Callers 1

flushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected