MCPcopy
hub / github.com/XiaoMi/Gaea / WritePlain

Method WritePlain

parser/format/format.go:350–352  ·  view source on GitHub ↗

WritePlain writes the plain text into writer without any handling.

(plainText string)

Source from the content-addressed store, hash-verified

348
349// WritePlain writes the plain text into writer without any handling.
350func (ctx *RestoreCtx) WritePlain(plainText string) {
351 fmt.Fprint(ctx.In, plainText)
352}
353
354// WritePlainf write the plain text into writer without any handling.
355func (ctx *RestoreCtx) WritePlainf(format string, a ...interface{}) {

Callers 15

TestRestoreCtxFunction · 0.95
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80
RestoreMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestRestoreCtxFunction · 0.76