common/paths: Fix docstring

This commit is contained in:
Jack Baldry
2025-01-16 09:58:18 +00:00
committed by GitHub
parent 5c5508817f
commit 8b52626915

View 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)