common/paths: Fix docstring
This commit is contained in:
parent
5c5508817f
commit
8b52626915
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue