Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5f04ed4262 | |||
| e49b322ec0 | |||
| 50752c0699 | |||
| 9eb58698fa |
8 changed files with 5 additions and 16 deletions
|
|
@ -1,10 +1,12 @@
|
|||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
using ModuleCore.Git.Models;
|
||||
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
||||
[Cmdlet(VerbsCommon.Get, GitCommands.GitRepoNoun)]
|
||||
public class ListGitRepoCommand : PSCmdlet
|
||||
[OutputType(typeof(GitRegistration))]
|
||||
public class GetGitRepoCommand : PSCmdlet
|
||||
{
|
||||
protected override void BeginProcessing()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Management.Automation;
|
||||
using System.Management.Automation;
|
||||
using ModuleCore.Git;
|
||||
|
||||
namespace PowershellModule.Git.Commands;
|
||||
|
|
|
|||
|
|
@ -10,10 +10,6 @@ public class GitProvider : NavigationCmdletProvider
|
|||
{
|
||||
public const string Name = "GitRepo";
|
||||
|
||||
public GitProvider()
|
||||
{
|
||||
}
|
||||
|
||||
protected override PSDriveInfo NewDrive(PSDriveInfo drive)
|
||||
{
|
||||
// This is a bit of a hack to ensure that no drive is registered with a root location.
|
||||
|
|
@ -81,6 +77,6 @@ public class GitProvider : NavigationCmdletProvider
|
|||
|
||||
protected override bool IsValidPath(string path)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
@ -7,6 +7,5 @@ public class GitPsDriveInfo : PSDriveInfo
|
|||
protected GitPsDriveInfo(PSDriveInfo driveInfo)
|
||||
: base(driveInfo)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"_TODO":[
|
||||
"add manifest details here maybe idk"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue