mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Rename CopyToStream to GetEntryStream
This commit is contained in:
@@ -183,7 +183,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
public override string? CopyToFile(string entryName, string outDir)
|
||||
{
|
||||
// Try to extract a stream using the given information
|
||||
(Stream? ms, string? realEntry) = CopyToStream(entryName);
|
||||
(Stream? ms, string? realEntry) = GetEntryStream(entryName);
|
||||
|
||||
// If the stream and the entry name are both non-null, we write to file
|
||||
if (ms != null && realEntry != null)
|
||||
@@ -221,7 +221,7 @@ namespace SabreTools.FileTypes.Archives
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override (Stream?, string?) CopyToStream(string entryName)
|
||||
public override (Stream?, string?) GetEntryStream(string entryName)
|
||||
{
|
||||
var ms = new MemoryStream();
|
||||
string? realEntry = null;
|
||||
|
||||
Reference in New Issue
Block a user