mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-22 12:52:33 +00:00
move classes
This commit is contained in:
parent
6d250c4050
commit
67ffbed93e
8 changed files with 67 additions and 47 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue