Files
UnrealEngineUWP/Engine/Source/Programs/Unsync/Private/UnsyncCmdPack.h
yuriy odonnell d39ff6fb57 unsync - Basic implementation of unpack command
* Only filesystem based packs at this point

[CL 29457142 by yuriy odonnell in ue5-main branch]
2023-11-04 01:04:21 -04:00

32 lines
604 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UnsyncCommon.h"
#include "UnsyncCore.h"
namespace unsync {
struct FCmdPackOptions
{
FPath RootPath;
FPath P4HavePath; // optional
bool bRunP4Have = false; // mutually exclusive with P4HavePath
FPath StorePath; // optional
uint32 BlockSize = uint32(64_KB);
FAlgorithmOptions Algorithm;
};
int32 CmdPack(const FCmdPackOptions& Options);
struct FCmdUnpackOptions
{
FPath OutputPath;
FPath StorePath;
std::string SnapshotName;
};
int32 CmdUnpack(const FCmdUnpackOptions& Options);
}