blob: ed9c1e7d29fed4bc7115b436696e33a040747e33 (
plain)
1
2
3
4
5
6
7
8
9
|
{{ with .Repo.Commit .Ctx .Params.ref -}}
i{{slice .Hash 0 8}}:{{ if ne $.Params.path "" }}{{$.Params.path}}{{ else }}/{{ end }} {{$.Selector}} {{$.Host}} {{$.Port}}
i {{$.Selector}} {{$.Host}} {{$.Port}}
{{ end -}}
1{{ if ne .Params.path "" }}../{{ else }}Commit{{ end }} {{join $.Selector ".."}} {{$.Host}} {{$.Port}}
{{ range .Repo.Tree .Ctx $.Params.ref $.Params.path -}}
{{ if eq .Type "blob" }}0📄 {{ else }}1📂 {{ end }}{{.Path}} {{join $.Selector .Path}} {{$.Host}} {{$.Port}}
{{ end -}}
.
|