MCPcopy Create free account
hub / github.com/JordanCoin/codemap / emitRouteMarker

Function emitRouteMarker

cmd/hooks.go:1043–1049  ·  view source on GitHub ↗

emitRouteMarker outputs structured JSON for matched routes.

(matches []subsystemRouteMatch)

Source from the content-addressed store, hash-verified

1041
1042// emitRouteMarker outputs structured JSON for matched routes.
1043func emitRouteMarker(matches []subsystemRouteMatch) {
1044 data, err := json.Marshal(matches)
1045 if err != nil {
1046 return
1047 }
1048 fmt.Printf("<!-- codemap:routes %s -->\n", string(data))
1049}
1050
1051// showSessionProgress shows files edited so far in this session
1052func showSessionProgress(root string) {

Callers 1

showRouteSuggestionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected