Пример #1
0
        private void OnRepositoryDeletionDetected(string repoPath)
        {
            if (string.IsNullOrEmpty(repoPath))
            {
                return;
            }

            DestroyRepositoryObserver(repoPath);

            OnDeletionDetected?.Invoke(this, repoPath);

            _repositoryInformationAggregator.RemoveByPath(repoPath);
        }
Пример #2
0
 public void IgnoreByPath(string path)
 {
     _repositoryIgnoreStore.IgnoreByPath(path);
     _repositoryInformationAggregator.RemoveByPath(path);
 }