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

Method IsImport

private/bufpkg/bufimage/bufimage.go:67–67  ·  view source on GitHub ↗

IsImport returns true if this file is an import.

()

Source from the content-addressed store, hash-verified

65 Imports() ([]string, error)
66 // IsImport returns true if this file is an import.
67 IsImport() bool
68
69 isImageFileInfo()
70}

Callers 15

runFunction · 0.65
newExternalImageFileInfoFunction · 0.65
ignoreFileLocationFunction · 0.65
NewLintFilesRuleHandlerFunction · 0.65
ImageFileWithIsImportFunction · 0.65
CloneImageFileFunction · 0.65

Implementers 3

imageFileprivate/bufpkg/bufimage/image_file.go
moduleImageFileInfoprivate/bufpkg/bufimage/module_image_f
wellKnownTypeImageFileInfoprivate/bufpkg/bufimage/well_known_typ

Calls

no outgoing calls

Tested by 3

testGetImageImportPathsFunction · 0.52