diff options
Diffstat (limited to 'tpl/template.go')
-rw-r--r-- | tpl/template.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tpl/template.go b/tpl/template.go index 0375b4a17..c5a6a44c0 100644 --- a/tpl/template.go +++ b/tpl/template.go @@ -44,6 +44,11 @@ type TemplateFinder interface { TemplateLookupVariant } +// UnusedTemplatesProvider lists unused templates if the build is configured to track those. +type UnusedTemplatesProvider interface { + UnusedTemplates() []FileInfo +} + // TemplateHandler finds and executes templates. type TemplateHandler interface { TemplateFinder |