code_style: run dotnet format

This commit is contained in:
leo 2024-06-06 15:31:02 +08:00
parent ed62174942
commit 4610f702b3
No known key found for this signature in database
GPG key ID: B528468E49CD0E58
29 changed files with 48 additions and 76 deletions

View file

@ -52,7 +52,7 @@ namespace SourceGit.ViewModels
{
get => Type == BranchTreeNodeType.Branch;
}
public bool IsDetachedHead
{
get => Type == BranchTreeNodeType.DetachedHead;
@ -219,7 +219,7 @@ namespace SourceGit.ViewModels
start = sepIdx + 1;
sepIdx = branch.Name.IndexOf('/', start);
}
lastFolder.Children.Add(new BranchTreeNode()
{
Name = Path.GetFileName(branch.Name),
@ -242,7 +242,7 @@ namespace SourceGit.ViewModels
{
return l.Name.CompareTo(r.Name);
}
return (int)l.Type - (int)r.Type;
});