Fix ForExternalStream→ForFilePath for file-path overloads and update SymbolicLinkHandler remarks
Agent-Logs-Url: https://github.com/adamhathcock/sharpcompress/sessions/41bf7d12-f140-47cf-96f9-3620eeb0eb32 Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
parent
d10b93242c
commit
5d75f8c36d
5 changed files with 10 additions and 10 deletions
|
|
@ -45,7 +45,7 @@ public sealed record ExtractionOptions : IExtractionOptions
|
|||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <b>Breaking change:</b> Changed from field to init-only property in version 0.40.0.
|
||||
/// The default handler logs a warning message.
|
||||
/// If no handler is provided, symbolic links are silently skipped during extraction.
|
||||
/// </remarks>
|
||||
public Action<string, string>? SymbolicLinkHandler { get; init; }
|
||||
|
||||
|
|
|
|||
|
|
@ -268,9 +268,9 @@
|
|||
"net10.0": {
|
||||
"Microsoft.NET.ILLink.Tasks": {
|
||||
"type": "Direct",
|
||||
"requested": "[10.0.6, )",
|
||||
"resolved": "10.0.6",
|
||||
"contentHash": "QKuvS0LWX4fjFqeDkyM7Kqt8P3wYTiPD4nwU+9y59n0sCiG714fxDgbbN82vDnzq89AF/PiHl92TP2C4aFDUQA=="
|
||||
"requested": "[10.0.5, )",
|
||||
"resolved": "10.0.5",
|
||||
"contentHash": "A+5ZuQ0f449tM+MQrhf6R9ZX7lYpjk/ODEwLYKrnF6111rtARx8fVsm4YznUnQiKnnXfaXNBqgxmil6RW3L3SA=="
|
||||
},
|
||||
"Microsoft.NETFramework.ReferenceAssemblies": {
|
||||
"type": "Direct",
|
||||
|
|
@ -400,9 +400,9 @@
|
|||
"net8.0": {
|
||||
"Microsoft.NET.ILLink.Tasks": {
|
||||
"type": "Direct",
|
||||
"requested": "[8.0.26, )",
|
||||
"resolved": "8.0.26",
|
||||
"contentHash": "o7/yVssM2r9Wyln2s9edBd5ANZXqdSdBI+g7JqXkyJmXrhs2WsJp25K5yPnYrTgdKBCjKB8bg+O2oew4sgzFaA=="
|
||||
"requested": "[8.0.25, )",
|
||||
"resolved": "8.0.25",
|
||||
"contentHash": "sqX4nmBft05ivqKvUT4nxaN8rT3apCLt9SWFkfRrQPwra1zPwFknQAw1lleuMCKOCLvVmOWwrC2iPSm9RiXZUg=="
|
||||
},
|
||||
"Microsoft.NETFramework.ReferenceAssemblies": {
|
||||
"type": "Direct",
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ public class RarArchiveAsyncTests : ArchiveTests
|
|||
using (
|
||||
var archive = RarArchive.OpenArchive(
|
||||
Path.Combine(TEST_ARCHIVES_PATH, "Rar.jpeg.jpg"),
|
||||
ReaderOptions.ForExternalStream with
|
||||
ReaderOptions.ForFilePath with
|
||||
{
|
||||
LookForHeader = true,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -316,7 +316,7 @@ public class RarArchiveTests : ArchiveTests
|
|||
using (
|
||||
var archive = RarArchive.OpenArchive(
|
||||
Path.Combine(TEST_ARCHIVES_PATH, "Rar.jpeg.jpg"),
|
||||
ReaderOptions.ForExternalStream with
|
||||
ReaderOptions.ForFilePath with
|
||||
{
|
||||
LookForHeader = true,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -622,7 +622,7 @@ public class ZipArchiveTests : ArchiveTests
|
|||
{
|
||||
using var reader = ZipArchive.OpenArchive(
|
||||
Path.Combine(TEST_ARCHIVES_PATH, "Zip.zip64.zip"),
|
||||
ReaderOptions.ForExternalStream with
|
||||
ReaderOptions.ForFilePath with
|
||||
{
|
||||
Password = "test",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue