mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-22 19:04:59 +00:00
Fix CommitLinkDetails visibility and improve comments
This commit is contained in:
parent
54641446ce
commit
0a1e8d77f1
1 changed files with 2 additions and 1 deletions
|
@ -19,8 +19,9 @@ namespace SourceGit.Models
|
||||||
{
|
{
|
||||||
public bool IsMatch(string url) => url.StartsWith(HostPrefix, StringComparison.Ordinal);
|
public bool IsMatch(string url) => url.StartsWith(HostPrefix, StringComparison.Ordinal);
|
||||||
}
|
}
|
||||||
public static class CommitLinkDetails // Changed from private to internal to fix CS1527
|
public static class CommitLinkDetails
|
||||||
{
|
{
|
||||||
|
//TODO: use Regex with submatches or better some existing url parsing classes instead
|
||||||
static readonly ProviderInfo[] Providers = new[]
|
static readonly ProviderInfo[] Providers = new[]
|
||||||
{
|
{
|
||||||
new ProviderInfo(
|
new ProviderInfo(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue