This project is read-only.

DirectoryDiff class

Apr 27, 2012 at 8:06 AM
Edited Apr 27, 2012 at 8:08 AM

Why do it internal? can you make it public? 

It is useful for manual async file processing(want to create download manager based on queues)

Apr 27, 2012 at 10:01 AM

I am download patch which do this. Also there is reworked compare algoritm(SizeDifferent also implemented).

Be careful when you will apply patch. 

Revision: 84426

File: CloudStorageSyncFramework.cs

Line: 159-162

case ComparisonResult.SizeDifferent:
                        {
                            throw new NotImplementedException();
                        }
If anyone use SynchronizeFolder it will crash when file is present in local and remote folder but with different size

Apr 27, 2012 at 10:13 AM

You can modify this method with dominating policy.

Example: 

Add sync flag: 

/// <summary>
/// When file present in remote and local folder but has different size local file will replace remote file.
/// By default remote file will replace local file.
/// </summary>
LocalFolderDomination = 0x00000016,
And based on this flag replace files.