// Code generated by qtc from "gititemblob.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/gititemblob.qtpl:1 package templates //line templates/gititemblob.qtpl:1 import "git.gabrielgio.me/cerrado/pkg/u" //line templates/gititemblob.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/gititemblob.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/gititemblob.qtpl:4 type GitItemBlobPage struct { Path []string Content []byte } //line templates/gititemblob.qtpl:10 func (g *GitItemBlobPage) StreamNav(qw422016 *qt422016.Writer, name, ref string) { //line templates/gititemblob.qtpl:10 StreamGitItemNav(qw422016, name, ref, Tree) //line templates/gititemblob.qtpl:10 } //line templates/gititemblob.qtpl:10 func (g *GitItemBlobPage) WriteNav(qq422016 qtio422016.Writer, name, ref string) { //line templates/gititemblob.qtpl:10 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/gititemblob.qtpl:10 g.StreamNav(qw422016, name, ref) //line templates/gititemblob.qtpl:10 qt422016.ReleaseWriter(qw422016) //line templates/gititemblob.qtpl:10 } //line templates/gititemblob.qtpl:10 func (g *GitItemBlobPage) Nav(name, ref string) string { //line templates/gititemblob.qtpl:10 qb422016 := qt422016.AcquireByteBuffer() //line templates/gititemblob.qtpl:10 g.WriteNav(qb422016, name, ref) //line templates/gititemblob.qtpl:10 qs422016 := string(qb422016.B) //line templates/gititemblob.qtpl:10 qt422016.ReleaseByteBuffer(qb422016) //line templates/gititemblob.qtpl:10 return qs422016 //line templates/gititemblob.qtpl:10 } //line templates/gititemblob.qtpl:12 func (g *GitItemBlobPage) StreamGitContent(qw422016 *qt422016.Writer, name, ref string) { //line templates/gititemblob.qtpl:12 qw422016.N().S(`