mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-28 01:32:30 -04:00
@@ -397,7 +397,7 @@ func (c TemplateContext) funcFileExists(filename string) (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
// funcStat returns Stat of a filename
|
||||
// funcFileStat returns Stat of a filename
|
||||
func (c TemplateContext) funcFileStat(filename string) (fs.FileInfo, error) {
|
||||
if c.Root == nil {
|
||||
return nil, fmt.Errorf("root file system not specified")
|
||||
|
||||
Reference in New Issue
Block a user