MCPcopy
hub / github.com/cloudflare/tableflip / HasParent

Method HasParent

upgrader.go:177–179  ·  view source on GitHub ↗

HasParent checks if the current process is an upgrade or the first invocation.

()

Source from the content-addressed store, hash-verified

175
176// HasParent checks if the current process is an upgrade or the first invocation.
177func (u *Upgrader) HasParent() bool {
178 return u.parent != nil
179}
180
181// Upgrade triggers an upgrade.
182func (u *Upgrader) Upgrade() error {

Callers 2

childProcessFunction · 0.45
TestHasParentFunction · 0.45

Calls

no outgoing calls

Tested by 2

childProcessFunction · 0.36
TestHasParentFunction · 0.36