MCPcopy
hub / github.com/containerd/containerd / GetEnableLayerIntegrity

Function GetEnableLayerIntegrity

core/mount/mount_windows.go:259–261  ·  view source on GitHub ↗

GetEnableLayerIntegrity checks if the enableLayerIntegrity flag is present in mount options

(m *Mount)

Source from the content-addressed store, hash-verified

257
258// GetEnableLayerIntegrity checks if the enableLayerIntegrity flag is present in mount options
259func GetEnableLayerIntegrity(m *Mount) bool {
260 return slices.Contains(m.Options, EnableLayerIntegrityFlag)
261}
262
263// GetAppendVHDFooter checks if the appendVHDFooter flag is present in mount options
264func GetAppendVHDFooter(m *Mount) bool {

Callers 1

ApplyMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…