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

Function writeDelegateJSON

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

Source from the content-addressed store, hash-verified

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

Callers 2

executeDelegatePreviewFunction · 0.85
executeDelegateRuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected