MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / Write

Method Write

pocketbase.go:326–331  ·  view source on GitHub ↗

Write writes the p bytes using the colored writer.

(p []byte)

Source from the content-addressed store, hash-verified

324
325// Write writes the p bytes using the colored writer.
326func (colored *coloredWriter) Write(p []byte) (n int, err error) {
327 colored.c.SetWriter(colored.w)
328 defer colored.c.UnsetWriter(colored.w)
329
330 return colored.c.Print(string(p))
331}

Callers 1

TestBindHTTPSendFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestBindHTTPSendFunction · 0.36