Move AesXtsFileSystem

This commit is contained in:
Alex Barney 2021-12-18 23:07:09 -07:00
parent f73d206901
commit 0846b86249
8 changed files with 17 additions and 12 deletions

View file

@ -2,7 +2,7 @@
using LibHac.Common.Keys;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Tools.FsSystem;
using static LibHac.FsSrv.FsCreator.IEncryptedFileSystemCreator;
namespace LibHac.FsSrv.FsCreator;
@ -33,4 +33,4 @@ public class EncryptedFileSystemCreator : IEncryptedFileSystemCreator
return Result.Success;
}
}
}

View file

@ -10,6 +10,7 @@ using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Ncm;
using LibHac.Ns;
using LibHac.Tools.FsSystem;
using LibHac.Tools.FsSystem.NcaUtils;
using LibHac.Tools.FsSystem.Save;
using LibHac.Tools.Ncm;

View file

@ -2,9 +2,10 @@
using LibHac.Common;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Util;
namespace LibHac.FsSystem;
namespace LibHac.Tools.FsSystem;
public class AesXtsDirectory : IDirectory
{
@ -93,4 +94,4 @@ public class AesXtsDirectory : IDirectory
return 0;
}
}
}
}

View file

@ -2,9 +2,10 @@
using LibHac.Common;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Util;
namespace LibHac.FsSystem;
namespace LibHac.Tools.FsSystem;
public class AesXtsFile : IFile
{
@ -130,4 +131,4 @@ public class AesXtsFile : IFile
base.Dispose();
}
}
}

View file

@ -5,10 +5,10 @@ using System.Text;
using LibHac.Common;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using Aes = LibHac.Crypto.Aes;
namespace LibHac.FsSystem;
namespace LibHac.Tools.FsSystem;
public class AesXtsFileHeader
{

View file

@ -3,9 +3,10 @@ using System.Diagnostics;
using LibHac.Common;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Util;
namespace LibHac.FsSystem;
namespace LibHac.Tools.FsSystem;
public class AesXtsFileSystem : IFileSystem
{
@ -283,4 +284,4 @@ public class AesXtsFileSystem : IFileSystem
file.Get.Write(0, header.ToBytes(false), WriteOption.Flush).ThrowIfFailure();
}
}
}

View file

@ -6,6 +6,7 @@ using LibHac.Crypto;
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Tools.FsSystem;
using LibHac.Util;
using static hactoolnet.Print;

View file

@ -1,7 +1,7 @@
using LibHac.Fs;
using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Tests.Fs.IFileSystemTestBase;
using LibHac.Tools.FsSystem;
namespace LibHac.Tests.Fs;
@ -16,4 +16,4 @@ public class AesXtsFileSystemTests : IFileSystemTests
return xtsFs;
}
}
}