diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-04 10:10:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-04 10:10:05 -0400 |
| commit | ca653f00e63b380629ce5d37fd6b9b92aa68d07a (patch) | |
| tree | 0e6ee71a50bc2875b22300e5da2653405fb65960 /Emby.Common.Implementations/IO | |
| parent | 88a39a1c18fe4dc301c77e12a1f8b10a07435528 (diff) | |
| parent | a7b11c8ee952ca43fe949ab4f1b6577e94ce6bba (diff) | |
Merge pull request #2273 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Common.Implementations/IO')
| -rw-r--r-- | Emby.Common.Implementations/IO/ManagedFileSystem.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Emby.Common.Implementations/IO/ManagedFileSystem.cs b/Emby.Common.Implementations/IO/ManagedFileSystem.cs index a8aa1a3cd..5b965efdc 100644 --- a/Emby.Common.Implementations/IO/ManagedFileSystem.cs +++ b/Emby.Common.Implementations/IO/ManagedFileSystem.cs @@ -641,6 +641,16 @@ namespace Emby.Common.Implementations.IO }).Where(i => i != null); } + public string[] ReadAllLines(string path) + { + return File.ReadAllLines(path); + } + + public void WriteAllLines(string path, IEnumerable<string> lines) + { + File.WriteAllLines(path, lines); + } + public Stream OpenRead(string path) { return File.OpenRead(path); |
