MCPcopy Create free account
hub / github.com/containers/image / newUncommittedImageSource

Function newUncommittedImageSource

storage/storage_dest.go:1298–1309  ·  view source on GitHub ↗
(d *storageImageDestination)

Source from the content-addressed store, hash-verified

1296}
1297
1298func newUncommittedImageSource(d *storageImageDestination) *uncommittedImageSource {
1299 s := &uncommittedImageSource{
1300 PropertyMethodsInitialize: srcImpl.PropertyMethods(srcImpl.Properties{
1301 HasThreadSafeGetBlob: true,
1302 }),
1303 NoGetBlobAtInitialize: srcStubs.NoGetBlobAt(d.Reference()),
1304
1305 d: d,
1306 }
1307 s.Compat = srcImpl.AddCompat(s)
1308 return s
1309}
1310
1311func (u *uncommittedImageSource) Reference() types.ImageReference {
1312 return u.d.Reference()

Callers 1

untrustedLayerDiffIDMethod · 0.85

Calls 1

ReferenceMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…