MCPcopy
hub / github.com/HKUDS/DeepCode / CodeReference

Class CodeReference

tools/code_reference_indexer.py:38–49  ·  view source on GitHub ↗

Code reference information structure

Source from the content-addressed store, hash-verified

36
37@dataclass
38class CodeReference:
39 """Code reference information structure"""
40
41 file_path: str
42 file_type: str
43 main_functions: List[str]
44 key_concepts: List[str]
45 dependencies: List[str]
46 summary: str
47 lines_of_code: int
48 repo_name: str
49 confidence_score: float = 0.0
50
51
52@dataclass

Callers 1

extract_code_referencesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected