private void Disable() { if (_cur != null) { _cur.Dispose(); _cur = null; } State.GitFolder = null; GitEnableChanged?.Invoke(); }
private void Enable(string dirGit) { State.GitFolder = dirGit; _cur = new StaticGitTracker(State); GitEnableChanged?.Invoke(); }