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

Method ExternalPath

private/bufpkg/bufimage/build_image.go:200–200  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

198// identity resolver (for cases like the LSP where path == externalPath).
199type imageFileMetadataResolver interface {
200 ExternalPath(path string) string
201 LocalPath(path string) string
202 FullName(path string) bufparse.FullName
203 CommitID(path string) uuid.UUID

Callers 9

ImageFileWithIsImportFunction · 0.65
CloneImageFileFunction · 0.65
OpenMethod · 0.65
compileImageFunction · 0.65
filterImageFileFunction · 0.65
normalizeImageFilesFunction · 0.65

Implementers 3

imageFileprivate/bufpkg/bufimage/image_file.go
moduleFileResolverprivate/bufpkg/bufimage/module_file_re
identityImageFileMetadataResolverprivate/bufpkg/bufimage/build_image.go

Calls

no outgoing calls

Tested by

no test coverage detected