Navigation
API > API/Editor > API/Editor/UnrealEd
Compares two depots that were written out by the CookCommandlet. Similar to running the cookcommandlet with -diffonly, but compares two depots on disk rather than comparing one depot on disk against the current in-memory results.
| Name | UDiffCookCommandlet |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffCookCommandlet.h |
| Include Path | #include "Commandlets/DiffCookCommandlet.h" |
Syntax
UCLASS ()
class UDiffCookCommandlet : public UCommandlet
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCommandlet → UDiffCookCommandlet
Structs
| Name | Remarks |
|---|---|
| FCommandLineArgs | List of the string arguments parsed by name from commandline that need interpretation/transform, before we do the transforms. |
| FCookedDepot | All the information we collect about a cooked depot. |
| FDiffResult | All diff results found when comparing two cooked depots. |
| FMountWithLeafFolderNameNotEqualLongPackageNameRoot | Holds data about a Plugin's mount point for special-case plugins |
| FPackageData | All the information we collect about a package within a cooked depot. |
| FPackageDiffResult | Diff result and diagnostic information about the diff after comparing the versions of a package in two cooked depots. |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddedVerbosity | ELogVerbosity::Type | Commandlets/DiffCookCommandlet.h | ||
| Args | FCommandLineArgs | Commandlets/DiffCookCommandlet.h | ||
| BaseDepot | FCookedDepot | Commandlets/DiffCookCommandlet.h | ||
| bShowAddedPackages | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowHeaders | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowModifiedPackages | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowPackages | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowRemovedPackages | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowSerialize | bool | Commandlets/DiffCookCommandlet.h | ||
| bShowSummary | bool | Commandlets/DiffCookCommandlet.h | ||
| CompDepot | FCookedDepot | Commandlets/DiffCookCommandlet.h | ||
| FilterByPackageName | TSet< FName > | Commandlets/DiffCookCommandlet.h | ||
| ModifiedVerbosity | ELogVerbosity::Type | Commandlets/DiffCookCommandlet.h | ||
| MountsWithLeafFolderNameNotEqualLongPackageNameRoot | TMap< FString, TArray< FMountWithLeafFolderNameNotEqualLongPackageNameRoot > > | Map from leaf name of the plugin's directory to the array of plugins that use that directory. | Commandlets/DiffCookCommandlet.h | |
| NumAdded | uint32 | Commandlets/DiffCookCommandlet.h | ||
| NumModified | uint32 | Commandlets/DiffCookCommandlet.h | ||
| NumRemoved | uint32 | Commandlets/DiffCookCommandlet.h | ||
| RemovedVerbosity | ELogVerbosity::Type | Commandlets/DiffCookCommandlet.h | ||
| TargetPlatforms | TArray< ITargetPlatform * > | Commandlets/DiffCookCommandlet.h |
Functions
Public
Overridden from UCommandlet
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Main
(
const FString& CmdLineParams |
Commandlets/DiffCookCommandlet.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Helper for LoadDepotContentRoots. Finds all of the directories with a "Content" subdirectory. | Commandlets/DiffCookCommandlet.h | ||
static FString * GetFileNameForExtension
(
UDiffCookCommandlet::FPackageData& PackageData, |
If the give PackageData was found during LoadDepotPackageLists to have the given extension, return a pointer to a string for the cookpath to package's file for that extension. | Commandlets/DiffCookCommandlet.h | |
static FString GetNormalizedFlexPath
(
FStringView Path |
Commandlets/DiffCookCommandlet.h | ||
static FString GetNormalizedLocalDir
(
FStringView Dir |
Normalization functions, like FPathViews::NormalizeDirectoryName, but potentially specific to our needs. | Commandlets/DiffCookCommandlet.h | |
static FString GetNormalizedLocalPath
(
FStringView Path |
Commandlets/DiffCookCommandlet.h | ||
static void NormalizeFlexPath
(
FStringBuilderBase& Path |
Commandlets/DiffCookCommandlet.h | ||
static void NormalizeLocalDir
(
FStringBuilderBase& Dir |
Commandlets/DiffCookCommandlet.h | ||
static void NormalizeLocalPath
(
FStringBuilderBase& Path |
Commandlets/DiffCookCommandlet.h | ||
static ELogVerbosity::Type ParseDiffVerbosity
(
const FString& Text |
Commandlets/DiffCookCommandlet.h | ||
static bool TryConvertCookPathToLongPackageName
(
FCookedDepot& Depot, |
FPackageName::TryConvertFilenameToLongPackageName, but for a cooked depot. | Commandlets/DiffCookCommandlet.h | |
static bool TryConvertLongPackageNameToCookPath
(
FCookedDepot& Depot, |
FPackageName::TryConvertLongPackageNameToFilename, but for a cooked depot. | Commandlets/DiffCookCommandlet.h |