mirror of
https://github.com/golang/go
synced 2024-11-18 12:24:48 -07:00
net/http: add function name to the beginning of comment
Change-Id: I6f5a94cd8b6e8f7201202514ac0f9c78811c43bc Reviewed-on: https://go-review.googlesource.com/103695 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
b638760dad
commit
4468b0bac1
@ -2152,7 +2152,7 @@ func pathMatch(pattern, path string) bool {
|
||||
return len(path) >= n && path[0:n] == pattern
|
||||
}
|
||||
|
||||
// Return the canonical path for p, eliminating . and .. elements.
|
||||
// cleanPath returns the canonical path for p, eliminating . and .. elements.
|
||||
func cleanPath(p string) string {
|
||||
if p == "" {
|
||||
return "/"
|
||||
|
Loading…
Reference in New Issue
Block a user