Exemple #1
0
        private bool Exists(ChangeItem item, HashSet <string> localFiles)
        {
            if (localFiles != null && localFiles.Any())
            {
                // Performance optimization
                return(localFiles.Contains(item.LocalPath.ToLowerInvariant()));
            }

            return(item.Exists());
        }
Exemple #2
0
 private bool Exists(ChangeItem item)
 {
     return(item.Exists());
 }