Move StreamFile, StreamStorage, StorageExtensions, FileReader

This commit is contained in:
Alex Barney 2021-12-19 00:22:19 -07:00
parent c6a09d1dfa
commit 865f271fe7
21 changed files with 16 additions and 23 deletions

View file

@ -3,6 +3,7 @@ using System.IO;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.Tools.FsSystem;
namespace LibHac.FsSystem; namespace LibHac.FsSystem;

View file

@ -1,6 +1,7 @@
using System; using System;
using System.IO; using System.IO;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Tools.FsSystem;
namespace LibHac.FsSystem; namespace LibHac.FsSystem;

View file

@ -7,6 +7,7 @@ using LibHac.Common;
using LibHac.Crypto; using LibHac.Crypto;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.Tools.FsSystem;
using Path = LibHac.Fs.Path; using Path = LibHac.Fs.Path;
namespace LibHac.FsSystem; namespace LibHac.FsSystem;

View file

@ -5,7 +5,6 @@ using System.Text;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using Aes = LibHac.Crypto.Aes; using Aes = LibHac.Crypto.Aes;
namespace LibHac.Tools.FsSystem; namespace LibHac.Tools.FsSystem;

View file

@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
using System.Text; using System.Text;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class FileReader public class FileReader
{ {

View file

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
using LibHac.Util; using LibHac.Util;
namespace LibHac.Tools.FsSystem.RomFs; namespace LibHac.Tools.FsSystem.RomFs;

View file

@ -2,7 +2,6 @@
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.RomFs; namespace LibHac.Tools.FsSystem.RomFs;

View file

@ -4,7 +4,6 @@ using System.IO;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -2,7 +2,6 @@
using System.Collections; using System.Collections;
using System.IO; using System.IO;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -1,6 +1,5 @@
using System; using System;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -1,6 +1,5 @@
using System.IO; using System.IO;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
using LibHac.Util; using LibHac.Util;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -3,7 +3,6 @@ using System.Collections;
using System.IO; using System.IO;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -4,7 +4,6 @@ using System.IO;
using System.Linq; using System.Linq;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
namespace LibHac.Tools.FsSystem.Save; namespace LibHac.Tools.FsSystem.Save;

View file

@ -2,7 +2,6 @@
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.FsSystem;
using LibHac.Util; using LibHac.Util;
using Path = LibHac.Fs.Path; using Path = LibHac.Fs.Path;

View file

@ -5,9 +5,9 @@ using System.Runtime.InteropServices;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
using LibHac.Tools.FsSystem; using LibHac.FsSystem;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public static class StorageExtensions public static class StorageExtensions
{ {

View file

@ -4,7 +4,7 @@ using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.Fs.Fsa; using LibHac.Fs.Fsa;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
/// <summary> /// <summary>
/// Provides an <see cref="IFile"/> interface for interacting with a <see cref="Stream"/> /// Provides an <see cref="IFile"/> interface for interacting with a <see cref="Stream"/>

View file

@ -2,7 +2,7 @@
using System.IO; using System.IO;
using LibHac.Fs; using LibHac.Fs;
namespace LibHac.FsSystem; namespace LibHac.Tools.FsSystem;
public class StreamStorage : IStorage public class StreamStorage : IStorage
{ {

View file

@ -1,7 +1,6 @@
using System.IO; using System.IO;
using LibHac.Common; using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem;
namespace LibHac.Tools.Ro; namespace LibHac.Tools.Ro;

View file

@ -8,7 +8,6 @@ using LibHac.Common;
using LibHac.Crypto; using LibHac.Crypto;
using LibHac.Crypto.Impl; using LibHac.Crypto.Impl;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem;
using LibHac.Tools.FsSystem; using LibHac.Tools.FsSystem;
namespace hactoolnet; namespace hactoolnet;

View file

@ -1,6 +1,7 @@
using System.IO; using System.IO;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem; using LibHac.FsSystem;
using LibHac.Tools.FsSystem;
using LibHac.Tools.FsSystem.RomFs; using LibHac.Tools.FsSystem.RomFs;
namespace hactoolnet; namespace hactoolnet;

View file

@ -3,6 +3,7 @@ using LibHac.Common;
using LibHac.Fs; using LibHac.Fs;
using LibHac.FsSystem; using LibHac.FsSystem;
using LibHac.Kernel; using LibHac.Kernel;
using LibHac.Tools.FsSystem;
namespace hactoolnet; namespace hactoolnet;