pub fn uid() -> String
This process’s user id, as a string, for the root check and the hook.
id -u rather than a libc call: the workspace adds dependencies reluctantly and this is asked once per command, not per request.
id -u