mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
738700537e
Currently uses Hard-Coded Naming Convention, Undecided on SAB or SB configuration style, SAB's is more robust (and flawless? -SP).
17 lines
512 B
C#
17 lines
512 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);
|
|
}
|
|
} |