26 lines
510 B
C++
26 lines
510 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UnsyncCommon.h"
|
|
#include "UnsyncCore.h"
|
|
|
|
namespace unsync {
|
|
|
|
struct FCmdHashOptions
|
|
{
|
|
FPath Input;
|
|
FPath Output;
|
|
bool bForce = false;
|
|
bool bIncremental = false;
|
|
bool bCompressPacks = false;
|
|
bool bPackFiles = false;
|
|
uint64 MaxFileSizeToPack = ~0ull;
|
|
uint32 BlockSize = uint32(64_KB);
|
|
FAlgorithmOptions Algorithm;
|
|
};
|
|
|
|
int32 CmdHash(const FCmdHashOptions& Options);
|
|
|
|
} // namespace unsync
|