mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
code_style: run dotnet format
to follow rules defined in .editorconfig
This commit is contained in:
parent
7866a11037
commit
61cead1867
12 changed files with 13 additions and 13 deletions
|
@ -6,4 +6,4 @@ namespace SourceGit
|
|||
[JsonSerializable(typeof(Models.Version))]
|
||||
[JsonSerializable(typeof(ViewModels.Preference))]
|
||||
internal partial class JsonCodeGen : JsonSerializerContext { }
|
||||
}
|
||||
}
|
|
@ -253,7 +253,7 @@ namespace SourceGit
|
|||
};
|
||||
|
||||
dialog.Show(desktop.MainWindow);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -37,4 +37,4 @@ namespace SourceGit.Commands
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -10,4 +10,4 @@ namespace SourceGit.Converters
|
|||
public static FuncValueConverter<double, double> Decrease =
|
||||
new FuncValueConverter<double, double>(v => v - 1.0);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -34,4 +34,4 @@ namespace SourceGit.Models
|
|||
}
|
||||
|
||||
public class AlreadyUpToDate { }
|
||||
}
|
||||
}
|
|
@ -35,7 +35,7 @@ namespace SourceGit.Native
|
|||
if (File.Exists(toolPath)) return toolPath;
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
|
||||
public string FindFleet()
|
||||
{
|
||||
var toolPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/.local/share/JetBrains/Toolbox/apps/fleet/bin/Fleet";
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace SourceGit.Native
|
|||
return toolPath;
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
|
||||
public string FindFleet()
|
||||
{
|
||||
var toolPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.UserProfile)}/Applications/Fleet.app/Contents/MacOS/Fleet";
|
||||
|
|
|
@ -449,7 +449,7 @@ namespace SourceGit.ViewModels
|
|||
ViewRevisionFileContent = new Models.RevisionBinaryFile() { Size = size };
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -127,8 +127,8 @@ namespace SourceGit.ViewModels
|
|||
binaryDiff.NewSize = File.Exists(fullPath) ? new FileInfo(fullPath).Length : 0;
|
||||
}
|
||||
rs = binaryDiff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (latest.IsLFS)
|
||||
{
|
||||
rs = latest.LFSDiff;
|
||||
|
|
|
@ -12,4 +12,4 @@ namespace SourceGit.ViewModels
|
|||
|
||||
private object _data = null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -102,7 +102,7 @@ namespace SourceGit.Views
|
|||
if (left != null)
|
||||
{
|
||||
return GetDesiredSize(left.Size, availableSize);
|
||||
}
|
||||
}
|
||||
else if (right != null)
|
||||
{
|
||||
return GetDesiredSize(right.Size, availableSize);
|
||||
|
|
|
@ -36,4 +36,4 @@ namespace SourceGit.Views
|
|||
e.Handled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue