mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
refactor: rename Models.Watcher.UpdateSubmodules
to Models.Watcher.SetSubmodules
* run `dotnet format`
This commit is contained in:
parent
71d2b295da
commit
a75d50bf97
7 changed files with 14 additions and 14 deletions
|
@ -71,7 +71,7 @@ namespace SourceGit.Models
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UpdateSubmodules(List<Submodule> submodules)
|
public void SetSubmodules(List<Submodule> submodules)
|
||||||
{
|
{
|
||||||
lock (_lockSubmodule)
|
lock (_lockSubmodule)
|
||||||
{
|
{
|
||||||
|
|
|
@ -779,7 +779,7 @@ namespace SourceGit.ViewModels
|
||||||
{
|
{
|
||||||
var submodules = new Commands.QuerySubmodules(_fullpath).Result();
|
var submodules = new Commands.QuerySubmodules(_fullpath).Result();
|
||||||
if (_watcher != null)
|
if (_watcher != null)
|
||||||
_watcher.UpdateSubmodules(submodules);
|
_watcher.SetSubmodules(submodules);
|
||||||
|
|
||||||
Dispatcher.UIThread.Invoke(() => Submodules = submodules);
|
Dispatcher.UIThread.Invoke(() => Submodules = submodules);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue