mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-05-01 06:15:41 +08:00
style<Repository>: normalize repository's path
This commit is contained in:
@@ -6,7 +6,10 @@ namespace SourceGit.ViewModels {
|
||||
public class RepositoryNode : ObservableObject {
|
||||
public string Id {
|
||||
get => _id;
|
||||
set => SetProperty(ref _id, value);
|
||||
set {
|
||||
var normalized = value.Replace('\\', '/');
|
||||
SetProperty(ref _id, normalized);
|
||||
}
|
||||
}
|
||||
|
||||
public string Name {
|
||||
|
||||
Reference in New Issue
Block a user