MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / render_context

Function render_context

claw-code/src/context.py:37–47  ·  view source on GitHub ↗
(context: PortContext)

Source from the content-addressed store, hash-verified

35
36
37def render_context(context: PortContext) -> str:
38 return '\n'.join([
39 f'Source root: {context.source_root}',
40 f'Test root: {context.tests_root}',
41 f'Assets root: {context.assets_root}',
42 f'Archive root: {context.archive_root}',
43 f'Python files: {context.python_file_count}',
44 f'Test files: {context.test_file_count}',
45 f'Assets: {context.asset_file_count}',
46 f'Archive available: {context.archive_available}',
47 ])

Callers 1

as_markdownMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected