Skip to main content

create_scratch_dir

Function create_scratch_dir 

Source
pub fn create_scratch_dir(working_dir: &Path) -> Result<PathBuf>
Expand description

Create the scratch dir of working_dir and return it. The dir gets a .gitignore of * the first time, so throwaway agent files never show up as untracked changes in the user’s repository.