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

Function docstrings

__tests__/python-body-docstrings.test.ts:26–28  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

24});
25
26function docstrings(code: string): Map<string, string | undefined> {
27 return new Map(extractFromSource('ledger.py', code).nodes.map((n) => [n.name, n.docstring]));
28}
29
30// Git may check out the fixture as CRLF. Start from LF so the CRLF variant
31// adds exactly one carriage return per newline on either platform.

Callers 1

Calls 2

extractFromSourceFunction · 0.90
mapMethod · 0.80

Tested by

no test coverage detected