2010-09-23 03:19:47 +00:00
|
|
|
|
using System;
|
2010-10-21 01:49:23 +00:00
|
|
|
|
using System.IO;
|
2010-09-23 03:19:47 +00:00
|
|
|
|
|
2011-04-04 03:50:12 +00:00
|
|
|
|
namespace NzbDrone.Core.Providers.Core
|
2010-09-23 03:19:47 +00:00
|
|
|
|
{
|
2010-09-28 04:25:41 +00:00
|
|
|
|
public interface IDiskProvider
|
2010-09-23 03:19:47 +00:00
|
|
|
|
{
|
2010-10-24 07:46:58 +00:00
|
|
|
|
bool FolderExists(string path);
|
2010-09-23 03:19:47 +00:00
|
|
|
|
string[] GetDirectories(string path);
|
|
|
|
|
String CreateDirectory(string path);
|
2010-10-21 01:49:23 +00:00
|
|
|
|
string[] GetFiles(string path, string pattern, SearchOption searchOption);
|
2010-10-24 07:46:58 +00:00
|
|
|
|
bool FileExists(string path);
|
|
|
|
|
long GetSize(string path);
|
2011-02-18 06:49:23 +00:00
|
|
|
|
void DeleteFile(string path);
|
2011-02-22 06:22:40 +00:00
|
|
|
|
void RenameFile(string sourcePath, string destinationPath);
|
2010-09-23 03:19:47 +00:00
|
|
|
|
}
|
|
|
|
|
}
|