MCPcopy
hub / github.com/golang/protobuf / fileByName

Method fileByName

protoc-gen-go/generator/generator.go:1253–1255  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

1251}
1252
1253func (g *Generator) fileByName(filename string) *FileDescriptor {
1254 return g.allFilesByName[filename]
1255}
1256
1257// weak returns whether the ith import of the current file is a weak import.
1258func (g *Generator) weak(i int32) bool {

Callers 2

generateImportsMethod · 0.95
wrapImportedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected