]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
common/paths: Fix docstring
authorJack Baldry <jack.baldry@grafana.com>
Thu, 16 Jan 2025 09:58:18 +0000 (09:58 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Jan 2025 09:58:18 +0000 (10:58 +0100)
common/paths/url.go

index 867f68bafbad6adfd97e180954ce0b9052e24ba4..1d1408b51e66d97675c3e38f487ab26d50d57269 100644 (file)
@@ -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)