using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace API.Interfaces.Services
{
public interface IDirectoryService
{
///
/// Lists out top-level folders for a given directory. Filters out System and Hidden folders.
///
/// Absolute path of directory to scan.
/// List of folder names
IEnumerable ListDirectory(string rootPath);
Task ReadFileAsync(string path);
bool CopyFilesToDirectory(IEnumerable filePaths, string directoryPath, string prepend = "");
bool Exists(string directory);
void CopyFileToDirectory(string fullFilePath, string targetDirectory);
int TraverseTreeParallelForEach(string root, Action action, string searchPattern, ILogger logger);
}
}