private void WatcherOnConfigChanged() { config.Reset(); DataNeedsRefreshing?.Invoke(CacheType.Branches); DataNeedsRefreshing?.Invoke(CacheType.RepositoryInfo); DataNeedsRefreshing?.Invoke(CacheType.GitLog); }
public ITask CheckoutVersion(string changeset, IList <string> files) { var task = GitClient.CheckoutVersion(changeset, files) .Then(() => DataNeedsRefreshing?.Invoke(CacheType.GitStatus)); return(HookupHandlers(task, false)); }
public ITask UnlockFile(NPath file, bool force) { var task = GitClient.Unlock(file, force) .Then(() => DataNeedsRefreshing?.Invoke(CacheType.GitLocks)); return(HookupHandlers(task, false)); }
private void WatcherOnHeadChanged() { Logger.Trace("WatcherOnHeadChanged"); DataNeedsRefreshing?.Invoke(CacheType.RepositoryInfo); DataNeedsRefreshing?.Invoke(CacheType.GitLog); DataNeedsRefreshing?.Invoke(CacheType.GitAheadBehind); }
private void WatcherOnLocalBranchesChanged() { DataNeedsRefreshing?.Invoke(CacheType.Branches); // the watcher should tell us what branch has changed so we can fire this only // when the active branch has changed DataNeedsRefreshing?.Invoke(CacheType.GitLog); DataNeedsRefreshing?.Invoke(CacheType.GitAheadBehind); }
private void WatcherOnIndexChanged() { DataNeedsRefreshing?.Invoke(CacheType.GitStatus); }
private void WatcherOnRepositoryChanged() { DataNeedsRefreshing?.Invoke(CacheType.GitStatus); }
private void WatcherOnRepositoryCommitted() { DataNeedsRefreshing?.Invoke(CacheType.GitLog); DataNeedsRefreshing?.Invoke(CacheType.GitStatus); }
private void WatcherOnRemoteBranchesChanged() { DataNeedsRefreshing?.Invoke(CacheType.Branches); }
private void WatcherOnIndexChanged() { Logger.Trace("WatcherOnIndexChanged"); DataNeedsRefreshing?.Invoke(CacheType.GitStatus); }
private void WatcherOnLocalBranchesChanged() { Logger.Trace("WatcherOnLocalBranchesChanged"); DataNeedsRefreshing?.Invoke(CacheType.Branches); }