Files
UnrealEngineUWP/Engine/Source/Runtime/Core/Public/Virtualization
paul chipchase 70e8a4d7b3 Reduce the disk space overhead when virtualizing packages.
#rb none
#jira UE-182542
#preflight 643699cdeb6cd0e63a6bd729

- Previously we were duplicating all packages being virtualized, without the recently virtualized payloads, then try to move them one at a time to replace the original packages.
- Now we do all of the prep work such as checking the packages out of revision control and checking that they can be written to first, then duplicate & move each package one at a time.
-- This way we only ever have a single additional duplicated package at a time.
- Moved the final summary logging to an exit scope so we can return when ever we want in the function.
- Added early out for error case.
- Added early out if there are no packages to remove virtualized payloads from.
- Improved the code commands in IVirtualizationSystem::TryVirtualizePackages so that the caller knows the potential failure case scenarios.

[CL 25005153 by paul chipchase in ue5-main branch]
2023-04-12 08:02:36 -04:00
..