code: func (p Path) Matches(other string) bool {
  	if CaseSensitivePath {
  		return strings.HasPrefix(string(p), other)
  	}
  	return strings.HasPrefix(strings.ToLower(string(p)), strings.ToLower(other))
  }
docs: // Matches checks to see if other matches p.
  //
  // Path matching will probably not always be a direct
  // comparison; this method assures that paths can be
  // easily and consistently matched.