Skip to main content

enter_working_dir

Function enter_working_dir 

Source
pub fn enter_working_dir()
Expand description

Changes into the directory PWD names, if it’s not /. The constructor described in the module docs does this before main. Calling it again does nothing, so it’s safe at the top of main either way.