Revision 4671d606 trunk/Pithos.Core/Agents/FileAgent.cs
b/trunk/Pithos.Core/Agents/FileAgent.cs | ||
---|---|---|
311 | 311 |
return true; |
312 | 312 |
if (_ignoreFiles.ContainsKey(filePath.ToLower())) |
313 | 313 |
return true; |
314 |
|
|
314 |
|
|
315 |
//If selective sync is enabled, propagate folder events |
|
316 |
if (Selectives.IsSelectiveEnabled(AccountInfo.AccountKey) && Directory.Exists(filePath)) |
|
317 |
return false; |
|
315 | 318 |
//Ignore if selective synchronization is defined, |
316 |
//And the target file is not below any of the selective paths
|
|
319 |
//And the target file is not below any of the selective paths |
|
317 | 320 |
return !Selectives.IsSelected(AccountInfo, filePath); |
318 | 321 |
} |
319 | 322 |
|
Also available in: Unified diff