ShouldIncludeGitItem() публичный Метод

public ShouldIncludeGitItem ( string gitPath ) : bool
gitPath string
Результат bool
Пример #1
0
        private bool IncludeInFetch(NamedChange change)
        {
            if (IgnorableChangeType(change.Change.ChangeType) && _resolver.Contains(change.GitPath))
            {
                return(false);
            }

            return(_resolver.ShouldIncludeGitItem(change.GitPath));
        }
Пример #2
0
        private bool IncludeInFetch(NamedChange change)
        {
            // If a change is only a branch or merge operation and we already have a file at the target path,
            // then there is nothing to do for that change.
            if ((change.Change.ChangeType == TfsChangeType.Branch ||
                 change.Change.ChangeType == TfsChangeType.Merge) &&
                _resolver.Contains(change.GitPath))
            {
                return(false);
            }

            return(_resolver.ShouldIncludeGitItem(change.GitPath));
        }
Пример #3
0
 private bool Include(string pathInGitRepo)
 {
     return(_resolver.ShouldIncludeGitItem(pathInGitRepo));
 }