mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-11 20:03:58 +02:00
hugofs: Add includeFiles and excludeFiles to mount configuration
Fixes #9042
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user