identityImageFileMetadataResolver is an [imageFileMetadataResolver] that returns identity values: external path equals path, and no module metadata. Used by [BuildImageFromOpener] where the caller owns the file contents directly.
| 207 | // identity values: external path equals path, and no module metadata. |
| 208 | // Used by [BuildImageFromOpener] where the caller owns the file contents directly. |
| 209 | type identityImageFileMetadataResolver struct{} |
| 210 | |
| 211 | func (identityImageFileMetadataResolver) ExternalPath(path string) string { return path } |
| 212 | func (identityImageFileMetadataResolver) LocalPath(_ string) string { return "" } |
nothing calls this directly
no outgoing calls
no test coverage detected