MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / rec

Function rec

__tests__/daemon-manager.test.ts:12–14  ·  view source on GitHub ↗
(root: string, pid: number, startedAt: number)

Source from the content-addressed store, hash-verified

10import type { DaemonRecord, StopResult } from '../src/mcp/daemon-registry';
11
12const rec = (root: string, pid: number, startedAt: number): DaemonRecord => ({
13 root, pid, version: '1.0.0', socketPath: `${root}/.codegraph/daemon.sock`, startedAt,
14});
15
16describe('formatUptime', () => {
17 it('formats seconds / minutes / hours', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected