Relativity.Transfer.TransferHelper
namespace Relativity.Transfer
{
internal static class TransferHelper
{
public static double CalculateFileLevelProgress(long totalSourcePaths, long totalTransferredFiles, long totalFailedFiles);
public static double CalculateByteLevelProgress(long totalSourceBytes, long totalTransferredBytes);
public static double CalculateTransferRateMbps(long totalTransferredBytes, double totalSeconds);
public static string CreateAppDataRootDirectory();
public static string CreateTransferLogDirectory(ITransferLog log, IFileSystemService fileSystemService, string transferLogDirectory, string logFolder);
public static int CalculateTotalChunks(long totalRequestBytes, long chunkSize);
}
}