diff --git a/src/ModuleCore/Git/GitRepoRegistrationManager.cs b/src/ModuleCore/Git/GitRepoRegistrationManager.cs index 1ade336..d6ddd57 100644 --- a/src/ModuleCore/Git/GitRepoRegistrationManager.cs +++ b/src/ModuleCore/Git/GitRepoRegistrationManager.cs @@ -390,20 +390,4 @@ public class GitRepoRegistrationManager return _currentBranch.Trim(); } } -} - -/// -/// The directory details of the directory returned from git rev-parse --show-toplevel -/// -public class ParsedGitFolderDetails -{ - /// - /// The full path to the top level folder containing a git repository - /// - public string Directory { get; init; } = null!; - - /// - /// The last folder name of the directory - /// - public string Folder { get; init; } = null!; } \ No newline at end of file diff --git a/src/ModuleCore/Git/Models/ParsedGitFolderDetails.cs b/src/ModuleCore/Git/Models/ParsedGitFolderDetails.cs new file mode 100644 index 0000000..a785be0 --- /dev/null +++ b/src/ModuleCore/Git/Models/ParsedGitFolderDetails.cs @@ -0,0 +1,17 @@ +namespace ModuleCore.Git.Models; + +/// +/// The directory details of the directory returned from git rev-parse --show-toplevel +/// +public class ParsedGitFolderDetails +{ + /// + /// The full path to the top level folder containing a git repository + /// + public string Directory { get; init; } = null!; + + /// + /// The last folder name of the directory + /// + public string Folder { get; init; } = null!; +} \ No newline at end of file