aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemcommit.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 15:03:54 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 15:03:54 +0200
commit2fb43cc1271572d26298da70f823814cae87a3a0 (patch)
tree2147c691adc23b6833ab5a68670a31474a27135a /templates/gititemcommit.qtpl.go
parenta47effe083d70cae7f039ff207087447a7a82ee0 (diff)
downloadcerrado-2fb43cc1271572d26298da70f823814cae87a3a0.tar.gz
cerrado-2fb43cc1271572d26298da70f823814cae87a3a0.tar.bz2
cerrado-2fb43cc1271572d26298da70f823814cae87a3a0.zip
chore: Regenerate go templates
Now they should have correct path for the source template file.
Diffstat (limited to 'templates/gititemcommit.qtpl.go')
-rw-r--r--templates/gititemcommit.qtpl.go78
1 files changed, 39 insertions, 39 deletions
diff --git a/templates/gititemcommit.qtpl.go b/templates/gititemcommit.qtpl.go
index 39348ee..8048e58 100644
--- a/templates/gititemcommit.qtpl.go
+++ b/templates/gititemcommit.qtpl.go
@@ -1,108 +1,108 @@
// Code generated by qtc from "gititemcommit.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
-//line gititemcommit.qtpl:1
+//line templates/gititemcommit.qtpl:1
package templates
-//line gititemcommit.qtpl:1
+//line templates/gititemcommit.qtpl:1
import "github.com/go-git/go-git/v5/plumbing/object"
-//line gititemcommit.qtpl:3
+//line templates/gititemcommit.qtpl:3
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
-//line gititemcommit.qtpl:3
+//line templates/gititemcommit.qtpl:3
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
-//line gititemcommit.qtpl:4
+//line templates/gititemcommit.qtpl:4
type GitItemCommitPage struct {
Commit *object.Commit
Diff string
}
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
func (g *GitItemCommitPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) {
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
StreamGitItemNav(qw422016, name, ref, Log)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
}
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
func (g *GitItemCommitPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) {
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
g.StreamNav(qw422016, name, ref)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
qt422016.ReleaseWriter(qw422016)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
}
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
func (g *GitItemCommitPage) Nav(name, ref string) string {
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
qb422016 := qt422016.AcquireByteBuffer()
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
g.WriteNav(qb422016, name, ref)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
qs422016 := string(qb422016.B)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
qt422016.ReleaseByteBuffer(qb422016)
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
return qs422016
-//line gititemcommit.qtpl:10
+//line templates/gititemcommit.qtpl:10
}
-//line gititemcommit.qtpl:12
+//line templates/gititemcommit.qtpl:12
func (g *GitItemCommitPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) {
-//line gititemcommit.qtpl:12
+//line templates/gititemcommit.qtpl:12
qw422016.N().S(`
<div class="event-list">
`)
-//line gititemcommit.qtpl:14
+//line templates/gititemcommit.qtpl:14
StreamCommit(qw422016, name, g.Commit, true)
-//line gititemcommit.qtpl:14
+//line templates/gititemcommit.qtpl:14
qw422016.N().S(`
</div>
<div class="code-view">
<pre>`)
-//line gititemcommit.qtpl:17
+//line templates/gititemcommit.qtpl:17
qw422016.E().S(g.Diff)
-//line gititemcommit.qtpl:17
+//line templates/gititemcommit.qtpl:17
qw422016.N().S(`</pre>
</div>
`)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
}
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
func (g *GitItemCommitPage) WriteGitContent(qq422016 qtio422016.Writer, name, ref string) {
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
g.StreamGitContent(qw422016, name, ref)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
qt422016.ReleaseWriter(qw422016)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
}
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
func (g *GitItemCommitPage) GitContent(name, ref string) string {
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
qb422016 := qt422016.AcquireByteBuffer()
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
g.WriteGitContent(qb422016, name, ref)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
qs422016 := string(qb422016.B)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
qt422016.ReleaseByteBuffer(qb422016)
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
return qs422016
-//line gititemcommit.qtpl:19
+//line templates/gititemcommit.qtpl:19
}