diff options
Diffstat (limited to 'MediaBrowser.Common/IO/IFileSystem.cs')
| -rw-r--r-- | MediaBrowser.Common/IO/IFileSystem.cs | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/MediaBrowser.Common/IO/IFileSystem.cs b/MediaBrowser.Common/IO/IFileSystem.cs index 60ba4c8ae..1feb20dcb 100644 --- a/MediaBrowser.Common/IO/IFileSystem.cs +++ b/MediaBrowser.Common/IO/IFileSystem.cs @@ -150,8 +150,8 @@ namespace MediaBrowser.Common.IO /// <param name="path">The path.</param> /// <param name="recursive">if set to <c>true</c> [recursive].</param> void DeleteDirectory(string path, bool recursive); - - IEnumerable<DirectoryInfo> GetDirectories(string path, bool recursive = false); + + IEnumerable<DirectoryInfo> GetDirectories(string path, bool recursive = false); IEnumerable<FileInfo> GetFiles(string path, bool recursive = false); @@ -169,22 +169,12 @@ namespace MediaBrowser.Common.IO bool FileExists(string path); - string ReadAllText(string path, Encoding encoding); - string ReadAllText(string path); - byte[] ReadAllBytes(string path); - - void WriteAllBytes(string path, byte[] bytes); - - void WriteAllText(string path, string text, Encoding encoding); - - void WriteAllText(string path, string text); - - void CreateFile(string path); - - void WriteAllLines(string path, string[] lines); + void WriteAllText(string path, string text); + + void WriteAllText(string path, string text, Encoding encoding); - string[] ReadAllLines(string path); + string ReadAllText(string path, Encoding encoding); } } |
