aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/IO/ManagedFileSystem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 04:43:59 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-04 04:43:59 -0400
commit67ffbed93e1e4c5d33ed5e12d5d5aaa587261493 (patch)
treeb11a1bf67adf2bffd315373dce8a20372ef6fe1f /Emby.Common.Implementations/IO/ManagedFileSystem.cs
parent6d250c4050ceb0bda33aad6a484fd05e508c4e27 (diff)
move classes
Diffstat (limited to 'Emby.Common.Implementations/IO/ManagedFileSystem.cs')
-rw-r--r--Emby.Common.Implementations/IO/ManagedFileSystem.cs10
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);