From 471ed91c60cd36645794925cb4892cc820eae626 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Sat, 16 Oct 2021 16:24:49 +0200 Subject: hugofs: Add includeFiles and excludeFiles to mount configuration Fixes #9042 --- modules/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules') diff --git a/modules/config.go b/modules/config.go index 45a2f22ee..f80a456cf 100644 --- a/modules/config.go +++ b/modules/config.go @@ -379,6 +379,11 @@ type Mount struct { Lang string // any language code associated with this mount. + // Include only files matching the given Glob patterns (string or slice). + IncludeFiles interface{} + + // Exclude all files matching the given Glob patterns (string or slice). + ExcludeFiles interface{} } func (m Mount) Component() string { -- cgit v1.2.3