diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 04:43:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 04:43:59 -0400 |
| commit | 67ffbed93e1e4c5d33ed5e12d5d5aaa587261493 (patch) | |
| tree | b11a1bf67adf2bffd315373dce8a20372ef6fe1f /Emby.Common.Implementations/IO/ManagedFileSystem.cs | |
| parent | 6d250c4050ceb0bda33aad6a484fd05e508c4e27 (diff) | |
move classes
Diffstat (limited to 'Emby.Common.Implementations/IO/ManagedFileSystem.cs')
| -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); |
