Example #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());
        }
Example #2
0
 private bool Exists(ChangeItem item)
 {
     return(item.Exists());
 }