refactor(git-provider): Move ParsedGitFolderDetails to own file
This commit is contained in:
parent
1804dd6e12
commit
de29720047
2 changed files with 17 additions and 16 deletions
|
|
@ -391,19 +391,3 @@ public class GitRepoRegistrationManager
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The directory details of the directory returned from git rev-parse --show-toplevel
|
||||
/// </summary>
|
||||
public class ParsedGitFolderDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// The full path to the top level folder containing a git repository
|
||||
/// </summary>
|
||||
public string Directory { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// The last folder name of the directory
|
||||
/// </summary>
|
||||
public string Folder { get; init; } = null!;
|
||||
}
|
||||
17
src/ModuleCore/Git/Models/ParsedGitFolderDetails.cs
Normal file
17
src/ModuleCore/Git/Models/ParsedGitFolderDetails.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
namespace ModuleCore.Git.Models;
|
||||
|
||||
/// <summary>
|
||||
/// The directory details of the directory returned from git rev-parse --show-toplevel
|
||||
/// </summary>
|
||||
public class ParsedGitFolderDetails
|
||||
{
|
||||
/// <summary>
|
||||
/// The full path to the top level folder containing a git repository
|
||||
/// </summary>
|
||||
public string Directory { get; init; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// The last folder name of the directory
|
||||
/// </summary>
|
||||
public string Folder { get; init; } = null!;
|
||||
}
|
||||
Loading…
Reference in a new issue