private bool PathIsApplicable(string remotePath)
{
// Ignore the change if not in a synchronized folder.
if ( ! remotePath.StartsWith(this.remoteFolderPath))
{
Logger.Info("Ignore change as it is not in the synchronized folder's path: " + remotePath);
return false;
}
// Ignore if configured to be ignored.
if (this.repoInfo.isPathIgnored(remotePath))
{
Logger.Info("Ignore change as it is in a path configured to be ignored: " + remotePath);
return false;
}
// In other case, the change is probably applicable.
return true;
}
}