MCPcopy
hub / github.com/docker/compose / Lock

Method Lock

internal/locker/pidfile_unix.go:27–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25)
26
27func (f *Pidfile) Lock() error {
28 return pidfile.Write(f.path, os.Getpid())
29}

Callers 15

runWatchFunction · 0.95
WriteMethod · 0.45
TestWith_RootNodesAndUpFunction · 0.45
setMethod · 0.45
getMethod · 0.45
UpMethod · 0.45
execCreateContainerMethod · 0.45
execStartContainerMethod · 0.45
execRemoveContainerMethod · 0.45
consumeMethod · 0.45
AddVertexMethod · 0.45

Calls 1

WriteFunction · 0.92

Tested by 3

TestWith_RootNodesAndUpFunction · 0.36
LogMethod · 0.36
LogsForContainerMethod · 0.36