MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / _summarize_tree

Function _summarize_tree

codewiki/mcp/server.py:526–536  ·  view source on GitHub ↗
(tree, depth=0)

Source from the content-addressed store, hash-verified

524 agent_instructions["language"] = arguments["language"]
525 if arguments.get("include_patterns"):
526 agent_instructions["include_patterns"] = [
527 p.strip() for p in arguments["include_patterns"].split(",")
528 ]
529 if arguments.get("exclude_patterns"):
530 agent_instructions["exclude_patterns"] = [
531 p.strip() for p in arguments["exclude_patterns"].split(",")
532 ]
533
534 from codewiki.src.config import Config as BackendConfig, set_cli_context
535
536 set_cli_context(True)
537
538 from codewiki.src.be.doc_layout import docs_layout, list_doc_files
539

Callers 1

_legacy_get_module_treeFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected