Rename CopyToStream to GetEntryStream

This commit is contained in:
Matt Nadareski
2024-07-15 21:37:38 -04:00
parent e29610de4b
commit 8af80b79af
13 changed files with 20 additions and 20 deletions

View File

@@ -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;