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

Function writeDelegateJSON

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

Source from the content-addressed store, hash-verified

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

Callers 2

executeDelegatePreviewFunction · 0.85
executeDelegateRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected