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

Function writeDelegateJSON

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

Source from the content-addressed store, hash-verified

312}
313
314func writeDelegateJSON(value any) error {
315 encoder := json.NewEncoder(os.Stdout)
316 encoder.SetIndent("", " ")
317 encoder.SetEscapeHTML(false)
318 return encoder.Encode(value)
319}

Callers 2

executeDelegatePreviewFunction · 0.85
executeDelegateRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected