GetAssociatedSourcePaths takes a protoreflect.SourcePath and returns a list of associated paths, []protoreflect.SourcePath. We should expect at least one associated path for a valid path input. More details on associated paths are available in the README.md.
(sourcePath protoreflect.SourcePath)
| 50 | // |
| 51 | // More details on associated paths are available in the README.md. |
| 52 | func GetAssociatedSourcePaths(sourcePath protoreflect.SourcePath) ([]protoreflect.SourcePath, error) { |
| 53 | return getAssociatedSourcePaths(sourcePath, true) |
| 54 | } |
| 55 | |
| 56 | func getAssociatedSourcePaths( |
| 57 | sourcePath protoreflect.SourcePath, |
no test coverage detected
searching dependent graphs…