THYFileUpdateHelper

Overview

Location

Instance Methods


AddDirectoryFiles

function AddDirectoryFiles(aDirectory: THYDirectory; aDestination: THYFileUpdateInfoArray; Recursive: Boolean): Integer

Parameters:

  • aDirectory:
  • aDestination:
  • Recursive:

ArrayToCollection

function ArrayToCollection(const anArray: THYFileUpdateInfoArray; const aCollection: THYFileUpdateInfoCollection; ClearCollection: Boolean): Integer

Parameters:

  • anArray:
  • aCollection:
  • ClearCollection:

CollectionToArray

function CollectionToArray(const aCollection: THYFileUpdateInfoCollection; const anArray: THYFileUpdateInfoArray; ClearArray: Boolean): Integer

Parameters:

  • aCollection:
  • anArray:
  • ClearArray:

FindFileUpdate

function FindFileUpdate(const aFileName: string; const anArray: THYFileUpdateInfoArray): Integer

Parameters:

  • aFileName:
  • anArray:

GenerateDelta

function GenerateDelta(const aServerList: THYFileUpdateInfoArray; const aClientList: THYFileUpdateInfoArray; aSearchInfoCollection: THYFileSearchInfoCollection; anUpdateComparisonMethod: THYUpdateComparisonMethod; anUpdateComparisonHandler: THYUpdateComparisonEvent): THYFileUpdateInfoArray

Parameters:

  • aServerList:
  • aClientList:
  • aSearchInfoCollection:
  • anUpdateComparisonMethod:
  • anUpdateComparisonHandler:

ScanForFiles

function ScanForFiles(const aSearchInfo: THYFileSearchInfo; const aDestination: THYFileUpdateInfoArray; ClearDestination: Boolean): Integer

Parameters:

  • aSearchInfo:
  • aDestination:
  • ClearDestination:

procedure TranslateDirectories(aFileUpdateInfo: THYFileUpdateInfo; aFileSearchCollection: THYFileSearchInfoCollection; aTranslationType: THYDirTranslationType)

Parameters:

  • aFileUpdateInfo:
  • aFileSearchCollection:
  • aTranslationType:

procedure TranslateDirectories(aFileUpdateInfoArray: THYFileUpdateInfoArray; aFileSearchCollection: THYFileSearchInfoCollection; aTranslationType: THYDirTranslationType)

Parameters:

  • aFileUpdateInfoArray:
  • aFileSearchCollection:
  • aTranslationType: