Skip to content

Commit

Permalink
moving to files
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatandrei committed Oct 12, 2024
1 parent 7dcca16 commit 4359b6b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/SideCarCLI/SC_Interfaces/IRunWatcher.cs
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
namespace SC_Interfaces;
public interface IRunWatcherDetect
{
public string Folder { get; set; }
public Task<IRunWatcher[]> DetectVersions();
}

public interface IRunWatcher
{
public int Version { get; }
public Task<int> Run(string[] args);

}

public interface IRunWatcherV1: IRunWatcher
{
public int DelaySeconds { get; set; }

}

public interface IRunWatcherFile
{
public Version DetectFile();
}
7 changes: 7 additions & 0 deletions src/SideCarCLI/SC_Interfaces/IRunWatcherDetect.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace SC_Interfaces;

public interface IRunWatcherDetect
{
public string Folder { get; set; }
public Task<IRunWatcher[]> DetectVersions();
}
7 changes: 7 additions & 0 deletions src/SideCarCLI/SC_Interfaces/IRunWatcherV1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace SC_Interfaces;

public interface IRunWatcherV1: IRunWatcher
{
public int DelaySeconds { get; set; }

}

0 comments on commit 4359b6b

Please sign in to comment.