Skip to main content

is_valid_user_home

Function is_valid_user_home 

Source
pub fn is_valid_user_home(home: &str) -> bool
Expand description

Whether home is an acceptable recorded home: a single entry directly below /users, such as /users/alice or the /users/1000 of an older account. The entry may not be . or .., nor contain /, NUL or control characters, and is at most 255 bytes long.