1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00
Radarr/NzbDrone.Core/Providers/IDiskProvider.cs
Mark McDowall 636f352599 Ability to manually add a show has been added.
UI cleanup for adding series (new, existing and manual).
2011-03-17 00:40:23 -07:00

18 lines
555 B
C#

using System;
using System.IO;
namespace NzbDrone.Core.Providers
{
public interface IDiskProvider
{
bool FolderExists(string path);
string[] GetDirectories(string path);
String CreateDirectory(string path);
string[] GetFiles(string path, string pattern, SearchOption searchOption);
bool FileExists(string path);
long GetSize(string path);
void DeleteFile(string path);
void RenameFile(string sourcePath, string destinationPath);
string GetFolderName(string path);
}
}