You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This is a binary patching and incremental downloading tool, similar to rsync or zsync. It aims to improve the large binary download processes that previously were served by robocopy (i.e. full packages produced by the build farm). The original code can be found in `//depot/usr/yuriy.odonnell/unsync`. This commit is a branch from the original location to preserve history. While the codebase is designed to be self-contained and does not depend on any engine libraries, it mostly follows the UE coding guidelines and can be built with UBT. Currently only Windows is supported, however the tool is expected to also work on Mac and Linux in the future. #rb Martin.Ridgers #preflight skip [CL 18993571 by Yuriy ODonnell in ue5-main branch]
35 lines
659 B
C++
35 lines
659 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;
|
|
|
|
fs::path Source;
|
|
fs::path Target;
|
|
fs::path SourceManifestOverride;
|
|
|
|
FRemoteDesc Remote;
|
|
|
|
bool bQuickDifference = false;
|
|
bool bQuickSourceValidation = false;
|
|
bool bCleanup = false;
|
|
|
|
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
|