Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc-ecosystem/grpc-gateway
/ LoadFromPlugin
Method
LoadFromPlugin
internal/descriptor/registry.go:243–245 ·
view source on GitHub ↗
(gen *protogen.Plugin)
Source
from the content-addressed store, hash-verified
241
}
242
243
func
(r *Registry) LoadFromPlugin(gen *protogen.Plugin) error {
244
return
r.load(gen)
245
}
246
247
func
(r *Registry) load(gen *protogen.Plugin) error {
248
filePaths := make([]string, 0, len(gen.FilesByPath))
Callers
2
main
Function · 0.95
loadFileWithCodeGeneratorRequest
Function · 0.80
Calls
1
load
Method · 0.95
Tested by
1
loadFileWithCodeGeneratorRequest
Function · 0.64