Skip to content

Commit

Permalink
common/paths: Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbaldry authored Jan 16, 2025
1 parent 5c55088 commit 8b52626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/paths/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b52626

Please sign in to comment.