Edison.Engine/Repositories/Interfaces/IDirectoryRepository.cs
/*
Edison is designed to be simpler and more performant unit/integration testing framework.
Copyright (c) 2015, Matthew Kelly (Badgerati)
Company: Cadaeic Studios
License: MIT (see LICENSE for details)
*/
using System.IO;
namespace Edison.Engine.Repositories.Interfaces
{
public interface IDirectoryRepository
{
bool Exists(string path);
DirectoryInfo CreateDirectory(string path);
DirectoryInfo CreateTempDirectory();
void Delete(string path, bool recursive);
string[] GetFiles(string path);
string[] GetDirectories(string path);
void Copy(string source, string target, bool recursive);
void Copy(DirectoryInfo source, DirectoryInfo target, bool recursive);
DirectoryInfo GetParent(string path);
}
}