Rename old IFileSystem interface

This commit is contained in:
Alex Barney 2018-12-23 14:49:28 -07:00
parent ec4c603afc
commit bb6c73014b
4 changed files with 6 additions and 6 deletions

View file

@ -4,7 +4,7 @@ using DiscUtils.Fat;
namespace LibHac.Nand
{
public class NandPartition : IFileSystem
public class NandPartition : IFileSystemOld
{
public FatFileSystem Fs { get; }

View file

@ -4,7 +4,7 @@ using System.IO;
namespace LibHac
{
public class FileSystem : IFileSystem
public class FileSystem : IFileSystemOld
{
public string Root { get; }

View file

@ -2,7 +2,7 @@
namespace LibHac
{
public interface IFileSystem
public interface IFileSystemOld
{
bool FileExists(string path);
bool DirectoryExists(string path);

View file

@ -12,7 +12,7 @@ namespace LibHac
public class SwitchFs : IDisposable
{
public Keyset Keyset { get; }
public IFileSystem Fs { get; }
public IFileSystemOld Fs { get; }
public string ContentsDir { get; }
public string SaveDir { get; }
@ -21,7 +21,7 @@ namespace LibHac
public Dictionary<ulong, Title> Titles { get; } = new Dictionary<ulong, Title>();
public Dictionary<ulong, Application> Applications { get; } = new Dictionary<ulong, Application>();
public SwitchFs(Keyset keyset, IFileSystem fs)
public SwitchFs(Keyset keyset, IFileSystemOld fs)
{
Fs = fs;
Keyset = keyset;
@ -232,7 +232,7 @@ namespace LibHac
}
}
internal static IStorage OpenSplitNcaStorage(IFileSystem fs, string path)
internal static IStorage OpenSplitNcaStorage(IFileSystemOld fs, string path)
{
var files = new List<string>();
var storages = new List<IStorage>();