mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-30 10:35:18 -04:00
Package extension -> extensions
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ type Path string
|
||||
|
||||
// Path matching will probably not always be a direct
|
||||
// comparison; this method assures that paths can be
|
||||
// easily matched.
|
||||
// easily and consistently matched.
|
||||
func (p Path) Matches(other string) bool {
|
||||
return strings.HasPrefix(string(p), other)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user