Added FolderWritable to DiskProvider to centralize the check.

This commit is contained in:
Taloth Saldono 2015-01-21 20:59:03 +01:00
commit 11803afc39
10 changed files with 106 additions and 49 deletions

View file

@ -19,6 +19,7 @@ namespace NzbDrone.Common.Disk
bool FolderExists(string path);
bool FileExists(string path);
bool FileExists(string path, StringComparison stringComparison);
bool FolderWritable(string path);
string[] GetDirectories(string path);
string[] GetFiles(string path, SearchOption searchOption);
long GetFolderSize(string path);