From 4826c28ef2aca1ee7dba7111e48d3b6a9c83d9a8 Mon Sep 17 00:00:00 2001 From: Marco Elver Date: Fri, 6 Jun 2025 16:38:12 +0200 Subject: pkg: restore vcs.TreeLink and html.SetGlobSearchPath This partially reverts commit 43f51a00700e5960fc890e6c3d596846757bf29d to restore vcs.TreeLink and html.SetGlobSearchPath. This broke internal code. --- pkg/vcs/vcs.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/vcs') 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) } -- cgit mrf-deployment