diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 15:03:54 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 15:03:54 +0200 |
commit | 2fb43cc1271572d26298da70f823814cae87a3a0 (patch) | |
tree | 2147c691adc23b6833ab5a68670a31474a27135a /templates/commit.qtpl.go | |
parent | a47effe083d70cae7f039ff207087447a7a82ee0 (diff) | |
download | cerrado-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/commit.qtpl.go')
-rw-r--r-- | templates/commit.qtpl.go | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go index 04d1c9c..9a25741 100644 --- a/templates/commit.qtpl.go +++ b/templates/commit.qtpl.go @@ -1,125 +1,125 @@ // Code generated by qtc from "commit.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. -//line commit.qtpl:1 +//line templates/commit.qtpl:1 package templates -//line commit.qtpl:1 +//line templates/commit.qtpl:1 import "github.com/go-git/go-git/v5/plumbing/object" -//line commit.qtpl:3 +//line templates/commit.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) -//line commit.qtpl:3 +//line templates/commit.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) -//line commit.qtpl:3 +//line templates/commit.qtpl:3 func StreamCommit(qw422016 *qt422016.Writer, name string, c *object.Commit, showTar bool) { -//line commit.qtpl:3 +//line templates/commit.qtpl:3 qw422016.N().S(` <div class="row event"> <div class="row"> <div class="col-md"> <a title="`) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.E().S(c.Hash.String()) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.N().S(`" href="/`) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.E().S(name) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.N().S(`/commit/`) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.E().S(c.Hash.String()) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.N().S(`">`) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.E().S(c.Hash.String()[0:8]) -//line commit.qtpl:7 +//line templates/commit.qtpl:7 qw422016.N().S(`</a> </div> `) -//line commit.qtpl:9 +//line templates/commit.qtpl:9 if showTar { -//line commit.qtpl:9 +//line templates/commit.qtpl:9 qw422016.N().S(` <div class="col-md text-md-center"> <a title="tar.gz for `) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.E().S(c.Hash.String()) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.N().S(`" href="/`) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.E().S(name) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.N().S(`/archive/`) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.E().S(c.Hash.String()) -//line commit.qtpl:11 +//line templates/commit.qtpl:11 qw422016.N().S(`.tar.gz">tar.gz</a> </div> `) -//line commit.qtpl:13 +//line templates/commit.qtpl:13 } -//line commit.qtpl:13 +//line templates/commit.qtpl:13 qw422016.N().S(` <div class="col-md text-md-end"> <a title="`) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.E().S(c.Committer.Email) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.N().S(`" href="mailto:`) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.E().S(c.Committer.Email) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.N().S(`">`) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.E().S(c.Committer.Name) -//line commit.qtpl:15 +//line templates/commit.qtpl:15 qw422016.N().S(`</a> </div> </div> <div class="code-view"> <pre>`) -//line commit.qtpl:19 +//line templates/commit.qtpl:19 qw422016.E().S(c.Message) -//line commit.qtpl:19 +//line templates/commit.qtpl:19 qw422016.N().S(`</pre> </div> </div> `) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 } -//line commit.qtpl:22 +//line templates/commit.qtpl:22 func WriteCommit(qq422016 qtio422016.Writer, name string, c *object.Commit, showTar bool) { -//line commit.qtpl:22 +//line templates/commit.qtpl:22 qw422016 := qt422016.AcquireWriter(qq422016) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 StreamCommit(qw422016, name, c, showTar) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 qt422016.ReleaseWriter(qw422016) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 } -//line commit.qtpl:22 +//line templates/commit.qtpl:22 func Commit(name string, c *object.Commit, showTar bool) string { -//line commit.qtpl:22 +//line templates/commit.qtpl:22 qb422016 := qt422016.AcquireByteBuffer() -//line commit.qtpl:22 +//line templates/commit.qtpl:22 WriteCommit(qb422016, name, c, showTar) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 qs422016 := string(qb422016.B) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 qt422016.ReleaseByteBuffer(qb422016) -//line commit.qtpl:22 +//line templates/commit.qtpl:22 return qs422016 -//line commit.qtpl:22 +//line templates/commit.qtpl:22 } |