equal
deleted
inserted
replaced
85 // making it suitable for use as a key into a Go map. |
85 // making it suitable for use as a key into a Go map. |
86 // It is not guaranteed to be stable as the exact output could change |
86 // It is not guaranteed to be stable as the exact output could change |
87 // in a future version of this module. |
87 // in a future version of this module. |
88 // |
88 // |
89 // Example output: |
89 // Example output: |
|
90 // |
90 // .message_type[6].nested_type[15].field[3] |
91 // .message_type[6].nested_type[15].field[3] |
91 func (p SourcePath) String() string { |
92 func (p SourcePath) String() string { |
92 b := p.appendFileDescriptorProto(nil) |
93 b := p.appendFileDescriptorProto(nil) |
93 for _, i := range p { |
94 for _, i := range p { |
94 b = append(b, '.') |
95 b = append(b, '.') |