From: Jack Baldry Date: Thu, 16 Jan 2025 09:58:18 +0000 (+0000) Subject: common/paths: Fix docstring X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8b526269158de5ea092506a40202900c0786f41f;p=brevno-suite%2Fhugo common/paths: Fix docstring --- diff --git a/common/paths/url.go b/common/paths/url.go index 867f68baf..1d1408b51 100644 --- a/common/paths/url.go +++ b/common/paths/url.go @@ -228,7 +228,7 @@ func UrlFromFilename(filename string) (*url.URL, error) { }, nil } -// UrlToFilename converts the URL s to a filename. +// UrlStringToFilename converts the URL s to a filename. // If ParseRequestURI fails, the input is just converted to OS specific slashes and returned. func UrlStringToFilename(s string) (string, bool) { u, err := url.ParseRequestURI(s)