35 const std::vector<wxString>& aPathsWithOverwriteDisallowed,
36 const std::vector<JOB_OUTPUT>& aOutputsToHandle,
37 std::optional<wxString>& aResolvedOutputPath )
39 aResolvedOutputPath.reset();
43 if( !wxFileName::DirExists( outputPath ) )
45 if( !wxFileName::Mkdir( outputPath, wxS_DIR_DEFAULT, wxPATH_MKDIR_FULL ) )
47 aResolvedOutputPath.reset();
54 if( !
CopyDirectory( baseTempPath, outputPath, aPathsWithOverwriteDisallowed, errors ) )
56 aResolvedOutputPath.reset();
60 aResolvedOutputPath = outputPath;
bool HandleOutputs(const wxString &aBaseTempPath, PROJECT *aProject, const std::vector< wxString > &aPathsWithOverwriteDisallowed, const std::vector< JOB_OUTPUT > &aOutputsToHandle, std::optional< wxString > &aResolvedOutputPath) override
bool CopyDirectory(const wxString &aSourceDir, const wxString &aDestDir, const std::vector< wxString > &aPathsWithOverwriteDisallowed, wxString &aErrors)
Copy a directory and its contents to another directory.