You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sonarr/NzbDrone.Core/Providers/IDiskProvider.cs

17 lines
512 B

14 years ago
using System;
using System.IO;
14 years ago
namespace NzbDrone.Core.Providers
14 years ago
{
public interface IDiskProvider
14 years ago
{
bool FolderExists(string path);
14 years ago
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);
14 years ago
}
}