mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 07:52:37 +01:00
15 lines
406 B
C#
15 lines
406 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);
|
|
}
|
|
} |