Files
UnrealEngineUWP/Engine/Source/Programs/Unsync/Private/UnsyncCmdSync.h
Yuriy ODonnell 1702de7c3f unsync - Add available disk check before starting sync, add anonymized machine name to telemetry
#rb none
#preflight none

[CL 22490002 by Yuriy ODonnell in ue5-main branch]
2022-10-12 20:45:24 -04:00

39 lines
707 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UnsyncCommon.h"
#include "UnsyncCore.h"
#include "UnsyncRemote.h"
namespace unsync {
struct FCmdSyncOptions
{
FAlgorithmOptions Algorithm;
FPath Source;
FPath Target;
FPath SourceManifestOverride;
std::vector<FPath> Overlays;
FRemoteDesc Remote;
bool bFullDifference = false;
bool bFullSourceScan = false;
bool bCleanup = false;
bool bCheckAvailableSpace = true;
bool bValidateTargetFiles = true; // WARNING: turning this off is intended only for testing/profiling
uint32 BlockSize = uint32(64_KB);
FSyncFilter* Filter = nullptr;
};
int32 CmdSync(const FCmdSyncOptions& Options);
} // namespace unsync