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

Function NewFile

internal/route/repo/editor.go:116–118  ·  view source on GitHub ↗
(c *context.Context)

Source from the content-addressed store, hash-verified

114}
115
116func NewFile(c *context.Context) {
117 editFile(c, true)
118}
119
120func editFilePost(c *context.Context, f form.EditRepoFile, isNewFile bool) {
121 c.PageIs("Edit")

Callers

nothing calls this directly

Calls 1

editFileFunction · 0.85

Tested by

no test coverage detected