/Engine/Source/Runtime/Core/Public/Serialization/PackageWriter.h
Remove the given cooked package(s) from storage; they have been modified since the last cook.
void RemoveCookedPackages ( [TArrayView](API\Runtime\Core\Containers\TArrayView)< const [FName](API\Runtime\Core\UObject\FName) > PackageNamesToRemove )