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

Function getStats

lib/temp.ts:49–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 * Get the current stats for temporary directories.
48 */
49export function getStats(): Stats {
50 return {
51 ...stats,
52 numActive: pendingRemoval.length,
53 };
54}
55
56// Reset stats, for tests only.
57export function resetStats() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected