Rename "Savefile" namespace to "Save"

This commit is contained in:
Alex Barney 2018-10-13 15:12:10 -05:00
parent a27c9f78c7
commit ae649182ce
16 changed files with 19 additions and 18 deletions

View file

@ -1,6 +1,6 @@
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class AllocationTable
{

View file

@ -1,6 +1,6 @@
using System;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class AllocationTableIterator
{

View file

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class AllocationTableStream : Stream
{

View file

@ -2,7 +2,7 @@
using System.Collections;
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class DuplexBitmap
{

View file

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class DuplexFs : Stream
{

View file

@ -3,7 +3,7 @@ using System.Diagnostics;
using System.IO;
using System.Text;
namespace LibHac.Savefile
namespace LibHac.Save
{
[DebuggerDisplay("{" + nameof(FullPath) + "}")]
public abstract class FsEntry

View file

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class Header
{

View file

@ -1,7 +1,7 @@
using System;
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class JournalStream : Stream
{

View file

@ -1,6 +1,6 @@
using System.IO;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class LayeredDuplexFs : Stream
{

View file

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class RemapStream : Stream
{

View file

@ -4,7 +4,7 @@ using System.Security.Cryptography;
using System.Text;
using LibHac.Streams;
namespace LibHac.Savefile
namespace LibHac.Save
{
public class Savefile
{

View file

@ -4,6 +4,7 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using LibHac.Save;
using LibHac.Streams;
namespace LibHac
@ -16,7 +17,7 @@ namespace LibHac
public string SaveDir { get; }
public Dictionary<string, Nca> Ncas { get; } = new Dictionary<string, Nca>(StringComparer.OrdinalIgnoreCase);
public Dictionary<string, Savefile.Savefile> Saves { get; } = new Dictionary<string, Savefile.Savefile>(StringComparer.OrdinalIgnoreCase);
public Dictionary<string, Savefile> Saves { get; } = new Dictionary<string, Savefile>(StringComparer.OrdinalIgnoreCase);
public Dictionary<ulong, Title> Titles { get; } = new Dictionary<ulong, Title>();
public Dictionary<ulong, Application> Applications { get; } = new Dictionary<ulong, Application>();
@ -117,7 +118,7 @@ namespace LibHac
foreach (string file in files)
{
Savefile.Savefile save = null;
Savefile save = null;
string saveName = Path.GetFileNameWithoutExtension(file);
try
@ -126,7 +127,7 @@ namespace LibHac
string sdPath = "/" + Util.GetRelativePath(file, SaveDir).Replace('\\', '/');
var nax0 = new Nax0(Keyset, stream, sdPath, false);
save = new Savefile.Savefile(Keyset, nax0.Stream, IntegrityCheckLevel.None);
save = new Savefile(Keyset, nax0.Stream, IntegrityCheckLevel.None);
}
catch (Exception ex)
{

View file

@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.IO;
using LibHac;
using LibHac.Nand;
using LibHac.Savefile;
using LibHac.Save;
namespace NandReader
{

View file

@ -7,7 +7,7 @@ using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using LibHac;
using LibHac.Nand;
using LibHac.Savefile;
using LibHac.Save;
using LibHac.Streams;
namespace NandReaderGui.ViewModel

View file

@ -3,7 +3,7 @@ using System.IO;
using System.Linq;
using System.Text;
using LibHac;
using LibHac.Savefile;
using LibHac.Save;
using static hactoolnet.Print;
namespace hactoolnet

View file

@ -4,7 +4,7 @@ using System.IO;
using System.Linq;
using System.Text;
using LibHac;
using LibHac.Savefile;
using LibHac.Save;
namespace hactoolnet
{