From 3443a8a056c7fe1a67cbf64f7e7f8acdc3762416 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 25 Apr 2023 23:54:42 +0800 Subject: fix some comments (#5508) Signed-off-by: cui fliter --- modules/caddyhttp/templates/tplcontext.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/templates') diff --git a/modules/caddyhttp/templates/tplcontext.go b/modules/caddyhttp/templates/tplcontext.go index c500381..fb00f4f 100644 --- a/modules/caddyhttp/templates/tplcontext.go +++ b/modules/caddyhttp/templates/tplcontext.go @@ -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") -- cgit v1.2.3