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

Method HasValue

internal/context/context.go:111–114  ·  view source on GitHub ↗

HasValue returns true if value of given name exists.

(name string)

Source from the content-addressed store, hash-verified

109
110// HasValue returns true if value of given name exists.
111func (c *Context) HasValue(name string) bool {
112 _, ok := c.Data[name]
113 return ok
114}
115
116// HTML responses template with given status.
117func (c *Context) HTML(status int, name string) {

Callers 1

InstallPostFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected