Skip to main content

default_username

Function default_username 

Source
pub fn default_username() -> Option<String>
Expand description

Resolve the default username from the $USER environment variable.

Returns None when $USER is not set or is empty.