MCPcopy Create free account
hub / github.com/arctic-cli/interface / isChild

Function isChild

packages/arctic/src/session/benchmark.ts:45–49  ·  view source on GitHub ↗
(session: Session.Info | undefined)

Source from the content-addressed store, hash-verified

43 }
44
45 export function isChild(session: Session.Info | undefined): session is Session.Info & {
46 benchmark: BenchmarkSchema.ChildSession
47 } {
48 return session?.benchmark?.type === "child"
49 }
50
51 export async function resolveParent(sessionID: string) {
52 const session = await Session.get(sessionID)

Callers 5

resolveParentFunction · 0.85
resolveChildFunction · 0.85
startFunction · 0.85
applyFunction · 0.85
undoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected