Skip to main content

ensure_alias

Function ensure_alias 

Source
pub fn ensure_alias() -> Outcome
Expand description

Create the devp alias next to the real binary, and keep it current.

A stale alias is worse than a missing one: it silently runs the previous version after an upgrade that replaced only dev-prune. So the alias is replaced whenever it no longer matches the binary that is running.