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