mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-21 05:33:31 +00:00
Add IPathCheck interface
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class SafeLock
|
||||
public class SafeLock : IPathCheck
|
||||
{
|
||||
public static string CheckContents(byte[] fileContent, bool includePosition = false)
|
||||
{
|
||||
@@ -17,7 +17,8 @@ namespace BurnOutSharp.ProtectionType
|
||||
return null;
|
||||
}
|
||||
|
||||
public static string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
/// <inheritdoc/>
|
||||
public string CheckPath(string path, IEnumerable<string> files, bool isDirectory)
|
||||
{
|
||||
if (isDirectory)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user