Files
BinaryObjectScanner/BurnOutSharp/IPathCheck.cs

24 lines
1.0 KiB
C#
Raw Permalink Normal View History

using System.Collections.Concurrent;
using System.Collections.Generic;
2021-02-26 00:32:09 -08:00
namespace BurnOutSharp
{
internal interface IPathCheck
2021-02-26 00:32:09 -08:00
{
/// <summary>
2021-03-19 15:41:49 -07:00
/// Check a file path for protections based on path name
2021-02-26 00:32:09 -08:00
/// </summary>
/// <param name="path">Path to check for protection indicators</param>
2021-03-19 15:41:49 -07:00
/// <param name="files">Enumerable of strings representing files in a directory</param>
/// <remarks>This can do some limited content checking as well, but it's suggested to use IContentCheck instead, if possible</remarks>
ConcurrentQueue<string> CheckDirectoryPath(string path, IEnumerable<string> files);
2021-03-19 15:41:49 -07:00
/// <summary>
/// Check a file path for protections based on path name
/// </summary>
/// <param name="path">Path to check for protection indicators</param>
/// <remarks>This can do some limited content checking as well, but it's suggested to use IContentCheck instead, if possible</remarks>
string CheckFilePath(string path);
2021-02-26 00:32:09 -08:00
}
}