C# Class VersioningTasks.CompareFiles

Inheritance: Microsoft.Build.Utilities.Task
Show file Open project: AArnott/Microsoft.WindowsAzure.StorageClient.Async

Private Properties

Property Type Description
AreFilesIdentical bool
FastFileEqualityCheck bool
IsContentOfFilesTheSame bool

Public Methods

Method Description
Execute ( ) : bool

Private Methods

Method Description
AreFilesIdentical ( ) : bool
FastFileEqualityCheck ( string sourcePath, string destPath ) : bool

Tests whether a file is up to date with respect to another, based on existence, last write time and file size.

IsContentOfFilesTheSame ( string file1, string file2 ) : bool

Method Details

Execute() public method

public Execute ( ) : bool
return bool