aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/html.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-06 10:29:46 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-02-10 11:56:20 +0000
commit43f51a00700e5960fc890e6c3d596846757bf29d (patch)
treedee3d11120b60aa848b1f1d73d5066c8d5dd9c7c /pkg/html/html.go
parent529cb927961356394978d77470022859e718c44a (diff)
all: delete dead code
go install golang.org/x/tools/cmd/deadcode@latest deadcode -test ./...
Diffstat (limited to 'pkg/html/html.go')
-rw-r--r--pkg/html/html.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/html/html.go b/pkg/html/html.go
index 5429606e2..4893b8377 100644
--- a/pkg/html/html.go
+++ b/pkg/html/html.go
@@ -30,11 +30,6 @@ var globSearchPath = func() string {
return "templates/"
}()
-// SetGlobSearchPath overrides the default path where syzkaller looks for templates.
-func SetGlobSearchPath(path string) {
- globSearchPath = path
-}
-
func CreateGlob(glob string) *template.Template {
if strings.Contains(glob, string(filepath.Separator)) {
panic("glob can't be a path, the files mask is expected")