Skip to main content

current_executable

Function current_executable 

Source
pub fn current_executable() -> Result<Checksum>
Expand description

Compute the checksum of the currently running executable.

This gives caches a strong identity for the exact tool implementation.

ยงErrors

Returns an error when the executable path cannot be resolved or read.