MCPcopy Create free account
hub / github.com/bufbuild/buf / newImageFilterOptions

Function newImageFilterOptions

private/bufpkg/bufimage/bufimageutil/bufimageutil.go:1236–1242  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1234}
1235
1236func newImageFilterOptions() *imageFilterOptions {
1237 return &imageFilterOptions{
1238 includeCustomOptions: true,
1239 includeKnownExtensions: true,
1240 allowImportedTypes: false,
1241 }
1242}
1243
1244func stripSourceRetentionOptionsFromFile(imageFile bufimage.ImageFile) (bufimage.ImageFile, error) {
1245 fileDescriptor := imageFile.FileDescriptorProto()

Callers 1

FilterImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…