(fd *model.FieldDescriptor)
| 123 | } |
| 124 | |
| 125 | func (self *DataHeader) FieldRepeatedCount(fd *model.FieldDescriptor) (count int) { |
| 126 | |
| 127 | for _, libfd := range self.rawHeaderFields { |
| 128 | if libfd == fd { |
| 129 | count++ |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | return |
| 134 | |
| 135 | } |
| 136 | |
| 137 | func (self *DataHeader) Equal(other *DataHeader) (string, bool) { |
| 138 |
no outgoing calls
no test coverage detected