MCPcopy Create free account
hub / github.com/codag-megalith/codag-visualizer / FileStructureContext

Class FileStructureContext

backend/models.py:85–89  ·  view source on GitHub ↗

Structure context for a file (from local tree-sitter analysis).

Source from the content-addressed store, hash-verified

83 code: Optional[str] = None # Optional function source
84
85class FileStructureContext(BaseModel):
86 """Structure context for a file (from local tree-sitter analysis)."""
87 filePath: str
88 functions: List[FunctionContext]
89 imports: List[str]
90
91class MetadataRequest(BaseModel):
92 """Request for metadata-only analysis."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected