1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-02-04 11:43:19 +02:00
Sonarr/NzbDrone.Core/Providers/IDiskProvider.cs

17 lines
512 B
C#
Raw Normal View History

2010-09-22 20:19:47 -07:00
using System;
using System.IO;
2010-09-22 20:19:47 -07:00
namespace NzbDrone.Core.Providers
2010-09-22 20:19:47 -07:00
{
public interface IDiskProvider
2010-09-22 20:19:47 -07:00
{
bool FolderExists(string path);
2010-09-22 20:19:47 -07:00
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);
2010-09-22 20:19:47 -07:00
}
}