Skip to main content

uid

Function uid 

Source
pub fn uid() -> String
Expand description

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.