Skip to main content

command_hash

Function command_hash 

Source
pub fn command_hash(raw: &str) -> String
Expand description

Stable hash of a raw command line, used as the memory key within a repo.

The exact command text is hashed (not the argv), so “always allow this exact command in this repo” means exactly that — a different command, even by a space, is a different key.