MCPcopy Index your code
hub / github.com/github/copilot-sdk / accessorPath

Function accessorPath

scripts/codegen/rust.ts:1797–1804  ·  view source on GitHub ↗
(parent: NamespaceNode, child: string, _isSession: boolean)

Source from the content-addressed store, hash-verified

1795}
1796
1797function accessorPath(parent: NamespaceNode, child: string, _isSession: boolean): string {
1798 // Build wire-style dotted path from the namespace tree's "name" chain plus child.
1799 // `parent.name === ""` for root; we accumulate by retrieving parent name only.
1800 // (We don't track full ancestry here; this is just for doc strings — we
1801 // fall back to the child name alone when at the root.)
1802 if (!parent.name) return child;
1803 return `${parent.name}.${child}`;
1804}
1805
1806function getResultTypeName(
1807 method: RpcMethod,

Callers 1

emitNamespaceStructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…