MCPcopy Create free account
hub / github.com/alibaba/open-code-review / writeDelegateJSON

Function writeDelegateJSON

cmd/opencodereview/delegate_cmd.go:326–331  ·  view source on GitHub ↗
(value any)

Source from the content-addressed store, hash-verified

324}
325
326func writeDelegateJSON(value any) error {
327 encoder := json.NewEncoder(os.Stdout)
328 encoder.SetIndent("", " ")
329 encoder.SetEscapeHTML(false)
330 return encoder.Encode(value)
331}

Callers 2

executeDelegatePreviewFunction · 0.85
executeDelegateRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected