2021-07-18 09:44:23 -07:00
|
|
|
|
using System.Collections.Concurrent;
|
|
|
|
|
|
using System.Collections.Generic;
|
2021-02-26 00:32:09 -08:00
|
|
|
|
|
|
|
|
|
|
namespace BurnOutSharp
|
|
|
|
|
|
{
|
2021-03-23 09:52:09 -07:00
|
|
|
|
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>
|
2021-07-18 09:44:23 -07:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
}
|