MCPcopy
hub / github.com/protocolbuffers/protobuf-go / Skip

Method Skip

compiler/protogen/protogen.go:1211–1213  ·  view source on GitHub ↗

Skip removes the generated file from the plugin output.

()

Source from the content-addressed store, hash-verified

1209
1210// Skip removes the generated file from the plugin output.
1211func (g *GeneratedFile) Skip() {
1212 g.skip = true
1213}
1214
1215// Unskip reverts a previous call to [GeneratedFile.Skip],
1216// re-including the generated file in the plugin output.

Callers 4

TestIntegrationFunction · 0.45
TestEncodeLargeFunction · 0.45
TestHasExtensionNoAllocFunction · 0.45
genImportFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestIntegrationFunction · 0.36
TestEncodeLargeFunction · 0.36
TestHasExtensionNoAllocFunction · 0.36