Package extension -> extensions

This commit is contained in:
Matthew Holt
2015-04-18 09:54:35 -06:00
parent 9a27beb79c
commit cd0421ceb8
3 changed files with 4 additions and 4 deletions

View File

@ -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)
}