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

Class FileRelationship

tools/code_indexer.py:31–40  ·  view source on GitHub ↗

Represents a relationship between a repo file and target structure file

Source from the content-addressed store, hash-verified

29
30@dataclass
31class FileRelationship:
32 """Represents a relationship between a repo file and target structure file"""
33
34 repo_file_path: str
35 target_file_path: str
36 relationship_type: str # 'direct_match', 'partial_match', 'reference', 'utility'
37 confidence_score: float # 0.0 to 1.0
38 helpful_aspects: List[str]
39 potential_contributions: List[str]
40 usage_suggestions: str
41
42
43@dataclass

Callers 1

find_relationshipsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected