MCPcopy Create free account
hub / github.com/gogs/gogs / PlainText

Method PlainText

internal/context/context.go:197–199  ·  view source on GitHub ↗
(status int, msg string)

Source from the content-addressed store, hash-verified

195}
196
197func (c *Context) PlainText(status int, msg string) {
198 c.Render.PlainText(status, []byte(msg))
199}
200
201func (c *Context) ServeContent(name string, r io.ReadSeeker, params ...any) {
202 modtime := time.Now()

Callers 7

ServeGoGetFunction · 0.80
SanitizeIpynbFunction · 0.80
ShowSSHKeysFunction · 0.80
DiffPreviewPostFunction · 0.80
UploadFileToServerFunction · 0.80
uploadAttachmentFunction · 0.80
GetReferenceSHAFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected