mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix QueryEntry signature
This commit is contained in:
parent
f1e839a64a
commit
6590cad251
11 changed files with 11 additions and 11 deletions
|
@ -122,7 +122,7 @@ namespace LibHac.Nand
|
|||
public void CreateFile(string path, long size, CreateFileOptions options) => throw new NotSupportedException();
|
||||
public void RenameDirectory(string srcPath, string dstPath) => throw new NotSupportedException();
|
||||
public void RenameFile(string srcPath, string dstPath) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
|
||||
private static FileAccess GetFileAccess(OpenMode mode)
|
||||
{
|
||||
|
|
|
@ -199,7 +199,7 @@ namespace LibHac.IO
|
|||
BaseFileSystem.Commit();
|
||||
}
|
||||
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId)
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId)
|
||||
{
|
||||
BaseFileSystem.QueryEntry(outBuffer, inBuffer, path, queryId);
|
||||
}
|
||||
|
|
|
@ -218,7 +218,7 @@ namespace LibHac.IO
|
|||
BaseFileSystem.Commit();
|
||||
}
|
||||
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId)
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId)
|
||||
{
|
||||
if(queryId != QueryId.MakeConcatFile) throw new NotSupportedException();
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ namespace LibHac.IO
|
|||
/// </summary>
|
||||
void Commit();
|
||||
|
||||
void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId);
|
||||
void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -112,7 +112,7 @@ namespace LibHac.IO
|
|||
throw new FileNotFoundException(path);
|
||||
}
|
||||
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId)
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId)
|
||||
{
|
||||
path = PathTools.Normalize(path);
|
||||
|
||||
|
|
|
@ -186,6 +186,6 @@ namespace LibHac.IO
|
|||
|
||||
public void Commit() { }
|
||||
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace LibHac.IO
|
|||
public long GetTotalSpaceSize(string path) => throw new NotSupportedException();
|
||||
public FileTimeStampRaw GetFileTimeStampRaw(string path) => throw new NotSupportedException();
|
||||
public void Commit() { }
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public enum PartitionFileSystemType
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace LibHac.IO.RomFs
|
|||
public long GetFreeSpaceSize(string path) => throw new NotSupportedException();
|
||||
public long GetTotalSpaceSize(string path) => throw new NotSupportedException();
|
||||
public FileTimeStampRaw GetFileTimeStampRaw(string path) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public class RomfsHeader
|
||||
|
|
|
@ -206,7 +206,7 @@ namespace LibHac.IO.Save
|
|||
}
|
||||
|
||||
public FileTimeStampRaw GetFileTimeStampRaw(string path) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
|
||||
public bool Commit(Keyset keyset)
|
||||
{
|
||||
|
|
|
@ -143,7 +143,7 @@ namespace LibHac.IO.Save
|
|||
}
|
||||
|
||||
public FileTimeStampRaw GetFileTimeStampRaw(string path) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId) => throw new NotSupportedException();
|
||||
|
||||
public IStorage GetBaseStorage() => BaseStorage.AsReadOnly();
|
||||
public IStorage GetHeaderStorage() => HeaderStorage.AsReadOnly();
|
||||
|
|
|
@ -126,7 +126,7 @@ namespace LibHac.IO
|
|||
return ParentFileSystem.GetFileTimeStampRaw(ResolveFullPath(path));
|
||||
}
|
||||
|
||||
public void QueryEntry(Span<byte> outBuffer, Span<byte> inBuffer, string path, QueryId queryId)
|
||||
public void QueryEntry(Span<byte> outBuffer, ReadOnlySpan<byte> inBuffer, string path, QueryId queryId)
|
||||
{
|
||||
path = PathTools.Normalize(path);
|
||||
|
||||
|
|
Loading…
Reference in a new issue