Skip to content

Commit

Permalink
Copy directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Nov 20, 2024
1 parent 91d8893 commit 2031157
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private AbsolutePath GetMaxPathFolderOrTempFolder(AbsolutePath packageBuilderDir
if (max >= MAX_PATH)
{
if (temp.DirectoryExists()) temp.DeleteDirectory();
AbsolutePathExtensions.CopyToDirectory(packageBuilderDirectory, temp);
AbsolutePathExtensions.Copy(packageBuilderDirectory, temp);
var limit = max - file.ToString().Length + temp.ToString().Length;
Serilog.Log.Information($"Path Max: {limit} - {temp}");
return (AbsolutePath)temp;
Expand Down

0 comments on commit 2031157

Please sign in to comment.