/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
Prunes an asset cache, this removes asset data, nodes, and package data that isn't needed.
void PruneAssetData ( const [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & RequiredPackages, const [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & RemovePackages, const [FAssetRegistrySerializationOptions](API\Runtime\AssetRegistry\AssetRegistry\FAssetRegistrySerializationOptio-) & Options )