Files
paul chipchase fa35ec4043 Add a new console command 'ValidatePackagePayloads' as a quick way to check the status of payloads in a package.
#rb none
#jira none
#rnx
#preflight 646492502d446eac96a6fff9

- Each payload in the package is loaded or pulled and checked to make sure that it:
-- Could be accessed.
-- The hash stored in the FCompressedBuffer is the same as the original requested hash.
-- That the payload can be decompressed.
-- That the decompressed payload when hashed has the same hash as the original request.
- This should catch cases where the payload cannot be found or is corrupted in some way.

[CL 25503830 by paul chipchase in ue5-main branch]
2023-05-17 04:53:43 -04:00

14 lines
300 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "UObject/PackageTrailer.h"
namespace UE::Virtualization
{
TArray<TPair<FString, UE::FPackageTrailer>> LoadPackageTrailerFromArgs(const TArray<FString>& Args);
} //namespace UE::Virtualization