check point
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace Inspectron.Ringbuffer.Interfaces
|
||||
{
|
||||
public interface IFileIdentity
|
||||
{
|
||||
string WriteTo(string directoryPath);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Inspectron.Ringbuffer.Interfaces
|
||||
{
|
||||
public interface IFileIdentityFactory<T>
|
||||
{
|
||||
IFileIdentity CreateFrom(T image);
|
||||
IFileVerifier CreateVerifier();
|
||||
}
|
||||
}
|
||||
10
framework/Inspectron.Ringbuffer/Interfaces/IFileVerifier.cs
Normal file
10
framework/Inspectron.Ringbuffer/Interfaces/IFileVerifier.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Inspectron.Ringbuffer.Interfaces
|
||||
{
|
||||
public interface IFileVerifier
|
||||
{
|
||||
bool IsMainFile(string filePath);
|
||||
List<string> LinkedFiles(string filePath);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Inspectron.Ringbuffer.Interfaces
|
||||
{
|
||||
public interface IFolderWritter
|
||||
{
|
||||
void WriteGood(IFileIdentity fileIdentity, string product);
|
||||
void WriteBad(IFileIdentity fileIdentity, string product);
|
||||
}
|
||||
}
|
||||
11
framework/Inspectron.Ringbuffer/Interfaces/IIndex.cs
Normal file
11
framework/Inspectron.Ringbuffer/Interfaces/IIndex.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Inspectron.Ringbuffer.Interfaces
|
||||
{
|
||||
public interface IIndex
|
||||
{
|
||||
void Track(string filePath);
|
||||
List<string> GetFilesToDelete(int allowedAmountGood,int allowedAmountBad);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user