aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/vcs.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/vcs/vcs.go')
-rw-r--r--pkg/vcs/vcs.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index 06fd62671..b14fbdcbf 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -369,6 +369,11 @@ func CommitLink(url, hash string) string {
return link(url, hash, "", 0, 0)
}
+// Used externally - do not remove.
+func TreeLink(url, hash string) string {
+ return link(url, hash, "", 0, 1)
+}
+
func LogLink(url, hash string) string {
return link(url, hash, "", 0, 2)
}