desc

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeFileDescriptorSets

func MergeFileDescriptorSets(fileDescriptorSets []*descriptor.FileDescriptorSet) (*descriptor.FileDescriptorSet, error)

MergeFileDescriptorSets merges the given FileDescriptorSets, checking that files with the same name have the same content.

func SortFileDescriptorSet

func SortFileDescriptorSet(fileDescriptorSet *descriptor.FileDescriptorSet, fileDescriptorProto *descriptor.FileDescriptorProto) (*descriptor.FileDescriptorSet, error)

SortFileDescriptorSet sorts a FileDescriptorSet for github.com/jhump/protoreflect by returning a new FileDescriptorSet with the given FileDescriptorProto at the end. This also verifies that all FileDescriptorProto names are unique and the name of the FileDescriptorProto is within the FileDescriptorSet.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL