MCPcopy Create free account
hub / github.com/containerd/nerdctl / WithLock

Method WithLock

pkg/store/store.go:97–97  ·  view source on GitHub ↗
(fun func() error)

Source from the content-addressed store, hash-verified

95 Lock() error
96 Release() error
97 WithLock(fun func() error) (err error)
98}

Callers 15

GetMethod · 0.65
SaveMethod · 0.65
RemoveMethod · 0.65
TestFileStoreConcurrentFunction · 0.65
AcquireMethod · 0.65
LoadMethod · 0.65
AcquireMethod · 0.65
ReleaseMethod · 0.65
AllocHostsFileMethod · 0.65
DeleteMethod · 0.65
UpdateMethod · 0.65
LoadMethod · 0.65

Implementers 1

fileStorepkg/store/filestore.go

Calls

no outgoing calls

Tested by 1

TestFileStoreConcurrentFunction · 0.52