Skip to main content

restore_cwd

Function restore_cwd 

Source
fn restore_cwd(state_path: &Path) -> Option<PathBuf>
Expand description

Read back a previously-persisted cwd, if the file exists, is non-empty, and still names a real directory (it may not — the directory could have been deleted since, or this is the first call for this agent).