mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Rename IO namespace to Fs (#58)
This commit is contained in:
parent
e3e6411aa6
commit
d189826203
125 changed files with 142 additions and 142 deletions
|
@ -2,10 +2,10 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using DiscUtils;
|
using DiscUtils;
|
||||||
using LibHac.IO;
|
using LibHac.Fs;
|
||||||
|
|
||||||
using DirectoryEntry = LibHac.IO.DirectoryEntry;
|
using DirectoryEntry = LibHac.Fs.DirectoryEntry;
|
||||||
using IFileSystem = LibHac.IO.IFileSystem;
|
using IFileSystem = LibHac.Fs.IFileSystem;
|
||||||
|
|
||||||
namespace LibHac.Nand
|
namespace LibHac.Nand
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using DiscUtils.Fat;
|
using DiscUtils.Fat;
|
||||||
using LibHac.IO;
|
using LibHac.Fs;
|
||||||
|
|
||||||
namespace LibHac.Nand
|
namespace LibHac.Nand
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,7 +4,7 @@ using DiscUtils;
|
||||||
using DiscUtils.Fat;
|
using DiscUtils.Fat;
|
||||||
using DiscUtils.Partitions;
|
using DiscUtils.Partitions;
|
||||||
using DiscUtils.Streams;
|
using DiscUtils.Streams;
|
||||||
using LibHac.IO;
|
using LibHac.Fs;
|
||||||
|
|
||||||
namespace LibHac.Nand
|
namespace LibHac.Nand
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using LibHac.IO.NcaUtils;
|
using LibHac.Fs.NcaUtils;
|
||||||
|
|
||||||
namespace LibHac
|
namespace LibHac
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using LibHac.IO;
|
using LibHac.Fs;
|
||||||
|
|
||||||
namespace LibHac
|
namespace LibHac
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class Aes128CtrExStorage : Aes128CtrStorage
|
public class Aes128CtrExStorage : Aes128CtrStorage
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.Buffers.Binary;
|
using System.Buffers.Binary;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class Aes128CtrStorage : SectorStorage
|
public class Aes128CtrStorage : SectorStorage
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.Buffers.Binary;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class Aes128CtrTransform
|
public class Aes128CtrTransform
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class Aes128XtsStorage : SectorStorage
|
public class Aes128XtsStorage : SectorStorage
|
||||||
{
|
{
|
|
@ -29,7 +29,7 @@ using System.Buffers;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class Aes128XtsTransform
|
public class Aes128XtsTransform
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class AesXtsDirectory : IDirectory
|
public class AesXtsDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class AesXtsFile : FileBase
|
public class AesXtsFile : FileBase
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class AesXtsFileHeader
|
public class AesXtsFileHeader
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class AesXtsFileSystem : IFileSystem
|
public class AesXtsFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class BucketTree<T> where T : BucketTreeEntry<T>, new()
|
public class BucketTree<T> where T : BucketTreeEntry<T>, new()
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class CachedStorage : StorageBase
|
public class CachedStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class ConcatenationDirectory : IDirectory
|
public class ConcatenationDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class ConcatenationFile : FileBase
|
public class ConcatenationFile : FileBase
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class ConcatenationFileSystem : IFileSystem
|
public class ConcatenationFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class ConcatenationStorage : StorageBase
|
public class ConcatenationStorage : StorageBase
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class ConcatenationStorageBuilder
|
public class ConcatenationStorageBuilder
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class DeltaFragment
|
public class DeltaFragment
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class DirectoryEntry
|
public class DirectoryEntry
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public abstract class FileBase : IFile
|
public abstract class FileBase : IFile
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Diagnostics;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class FileReader
|
public class FileReader
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class FileStorage : StorageBase
|
public class FileStorage : StorageBase
|
||||||
{
|
{
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
using System.IO.Enumeration;
|
using System.IO.Enumeration;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public static class FileSystemExtensions
|
public static class FileSystemExtensions
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public struct FileTimeStampRaw
|
public struct FileTimeStampRaw
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.IO;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class HierarchicalIntegrityVerificationStorage : StorageBase
|
public class HierarchicalIntegrityVerificationStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public interface IAttributeFileSystem : IFileSystem
|
public interface IAttributeFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides an interface for enumerating the child entries of a directory.
|
/// Provides an interface for enumerating the child entries of a directory.
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides an interface for reading and writing a sequence of bytes.
|
/// Provides an interface for reading and writing a sequence of bytes.
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides an interface for accessing a file system. <c>/</c> is used as the path delimiter.
|
/// Provides an interface for accessing a file system. <c>/</c> is used as the path delimiter.
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides an interface for reading and writing a sequence of bytes.
|
/// Provides an interface for reading and writing a sequence of bytes.
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class IndirectStorage : StorageBase
|
public class IndirectStorage : StorageBase
|
||||||
{
|
{
|
|
@ -2,9 +2,9 @@
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using LibHac.IO.Save;
|
using LibHac.Fs.Save;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class IntegrityVerificationStorage : SectorStorage
|
public class IntegrityVerificationStorage : SectorStorage
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LayeredFileSystem : IFileSystem
|
public class LayeredFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LayeredFileSystemDirectory : IDirectory
|
public class LayeredFileSystemDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LocalDirectory : IDirectory
|
public class LocalDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LocalFile : FileBase
|
public class LocalFile : FileBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LocalFileSystem : IAttributeFileSystem
|
public class LocalFileSystem : IAttributeFileSystem
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class LocalStorage : StorageBase
|
public class LocalStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class MemoryStorage : StorageBase
|
public class MemoryStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
internal static class Messages
|
internal static class Messages
|
||||||
{
|
{
|
|
@ -2,9 +2,9 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using LibHac.IO.RomFs;
|
using LibHac.Fs.RomFs;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public class Nca
|
public class Nca
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Buffers.Binary;
|
using System.Buffers.Binary;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public static class NcaExtensions
|
public static class NcaExtensions
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
|
||||||
|
|
||||||
// ReSharper disable ImpureMethodCallOnReadonlyValueField
|
// ReSharper disable ImpureMethodCallOnReadonlyValueField
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public struct NcaFsHeader
|
public struct NcaFsHeader
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public struct NcaFsIntegrityInfoIvfc
|
public struct NcaFsIntegrityInfoIvfc
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public struct NcaFsIntegrityInfoSha256
|
public struct NcaFsIntegrityInfoSha256
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public struct NcaFsPatchInfo
|
public struct NcaFsPatchInfo
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.IO;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public struct NcaHeader
|
public struct NcaHeader
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
internal enum NcaKeyType
|
internal enum NcaKeyType
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
namespace LibHac.IO.NcaUtils
|
namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
public class TitleVersion
|
public class TitleVersion
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class NullFile : FileBase
|
public class NullFile : FileBase
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An <see cref="IStorage"/> that returns all zeros when read, and does nothing on write.
|
/// An <see cref="IStorage"/> that returns all zeros when read, and does nothing on write.
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class NxFileStream : Stream
|
public class NxFileStream : Stream
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class PartitionDirectory : IDirectory
|
public class PartitionDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class PartitionFile : FileBase
|
public class PartitionFile : FileBase
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class PartitionFileSystem : IFileSystem
|
public class PartitionFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class PartitionFileSystemBuilder
|
public class PartitionFileSystemBuilder
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Enumerates a file or directory path one segment at a time.
|
/// Enumerates a file or directory path one segment at a time.
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public static class PathTools
|
public static class PathTools
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents the file table used by the RomFS format.
|
/// Represents the file table used by the RomFS format.
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Builds a RomFS from a collection of files.
|
/// Builds a RomFS from a collection of files.
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
internal class RomFsDictionary<T> where T : unmanaged
|
internal class RomFsDictionary<T> where T : unmanaged
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
public class RomFsDirectory : IDirectory
|
public class RomFsDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
internal ref struct RomEntryKey
|
internal ref struct RomEntryKey
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
public class RomFsFile : FileBase
|
public class RomFsFile : FileBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.RomFs
|
namespace LibHac.Fs.RomFs
|
||||||
{
|
{
|
||||||
public class RomFsFileSystem : IFileSystem
|
public class RomFsFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class AllocationTable
|
public class AllocationTable
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class AllocationTableIterator
|
public class AllocationTableIterator
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class AllocationTableStorage : StorageBase
|
public class AllocationTableStorage : StorageBase
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class DuplexBitmap
|
public class DuplexBitmap
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class DuplexStorage : StorageBase
|
public class DuplexStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class Header
|
public class Header
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class HierarchicalDuplexStorage : StorageBase
|
public class HierarchicalDuplexStorage : StorageBase
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class HierarchicalSaveFileTable
|
public class HierarchicalSaveFileTable
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class JournalMap
|
public class JournalMap
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class JournalStorage : StorageBase
|
public class JournalStorage : StorageBase
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class RemapStorage : StorageBase
|
public class RemapStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class SaveDataDirectory : IDirectory
|
public class SaveDataDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class SaveDataFile : FileBase
|
public class SaveDataFile : FileBase
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class SaveDataFileSystem : IFileSystem
|
public class SaveDataFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public class SaveDataFileSystemCore : IFileSystem
|
public class SaveDataFileSystemCore : IFileSystem
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
public static class SaveExtensions
|
public static class SaveExtensions
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
internal ref struct SaveEntryKey
|
internal ref struct SaveEntryKey
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
[DebuggerDisplay("{" + nameof(FullPath) + "}")]
|
[DebuggerDisplay("{" + nameof(FullPath) + "}")]
|
||||||
public abstract class SaveFsEntry
|
public abstract class SaveFsEntry
|
|
@ -4,7 +4,7 @@ using System.Diagnostics;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO.Save
|
namespace LibHac.Fs.Save
|
||||||
{
|
{
|
||||||
internal class SaveFsList<T> where T : struct
|
internal class SaveFsList<T> where T : struct
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class SectorStorage : StorageBase
|
public class SectorStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public abstract class StorageBase : IStorage
|
public abstract class StorageBase : IStorage
|
||||||
{
|
{
|
|
@ -3,7 +3,7 @@ using System.Buffers;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public static class StorageExtensions
|
public static class StorageExtensions
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class StorageFile : FileBase
|
public class StorageFile : FileBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class StorageStream : Stream
|
public class StorageStream : Stream
|
||||||
{
|
{
|
|
@ -5,7 +5,7 @@ using System.IO;
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
/// <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"/>
|
|
@ -5,7 +5,7 @@ using System.IO;
|
||||||
using System.Buffers;
|
using System.Buffers;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class StreamStorage : StorageBase
|
public class StreamStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class SubStorage : StorageBase
|
public class SubStorage : StorageBase
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class SubdirectoryFileSystem : IFileSystem
|
public class SubdirectoryFileSystem : IFileSystem
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
public class SubdirectoryFileSystemDirectory : IDirectory
|
public class SubdirectoryFileSystemDirectory : IDirectory
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.Diagnostics;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace LibHac.IO
|
namespace LibHac.Fs
|
||||||
{
|
{
|
||||||
internal ref struct ValueStringBuilder
|
internal ref struct ValueStringBuilder
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using LibHac.IO;
|
using LibHac.Fs;
|
||||||
|
|
||||||
namespace LibHac
|
namespace LibHac
|
||||||
{
|
{
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue