mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
all: Fix comments for exported functions and packages
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
24e7d0c174
commit
610cedaa61
@@ -84,7 +84,7 @@ func NewWhitelist(patterns ...string) Whitelist {
|
||||
return Whitelist{patterns: patternsr, patternsStrings: patternsStrings}
|
||||
}
|
||||
|
||||
// Accepted reports whether name is whitelisted.
|
||||
// Accept reports whether name is whitelisted.
|
||||
func (w Whitelist) Accept(name string) bool {
|
||||
if w.acceptNone {
|
||||
return false
|
||||
|
Reference in New Issue
Block a user