mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
Compare commits
3 Commits
0.44.2
...
copilot/fi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cc4ccedfe | ||
|
|
f27ea2d5f6 | ||
|
|
292729028b |
@@ -20,8 +20,9 @@ public static class ArchiveFactory
|
|||||||
public static IArchive Open(Stream stream, ReaderOptions? readerOptions = null)
|
public static IArchive Open(Stream stream, ReaderOptions? readerOptions = null)
|
||||||
{
|
{
|
||||||
readerOptions ??= new ReaderOptions();
|
readerOptions ??= new ReaderOptions();
|
||||||
|
var factory = FindFactory<IArchiveFactory>(stream);
|
||||||
stream = new SharpCompressStream(stream, bufferSize: readerOptions.BufferSize);
|
stream = new SharpCompressStream(stream, bufferSize: readerOptions.BufferSize);
|
||||||
return FindFactory<IArchiveFactory>(stream).Open(stream, readerOptions);
|
return factory.Open(stream, readerOptions);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IWritableArchive Create(ArchiveType type)
|
public static IWritableArchive Create(ArchiveType type)
|
||||||
|
|||||||
@@ -335,9 +335,9 @@
|
|||||||
"net8.0": {
|
"net8.0": {
|
||||||
"Microsoft.NET.ILLink.Tasks": {
|
"Microsoft.NET.ILLink.Tasks": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
"requested": "[8.0.17, )",
|
"requested": "[8.0.20, )",
|
||||||
"resolved": "8.0.17",
|
"resolved": "8.0.20",
|
||||||
"contentHash": "x5/y4l8AtshpBOrCZdlE4txw8K3e3s9meBFeZeR3l8hbbku2V7kK6ojhXvrbjg1rk3G+JqL1BI26gtgc1ZrdUw=="
|
"contentHash": "Rhcto2AjGvTO62+/VTmBpumBOmqIGp7nYEbTbmEXkCq4yPGxV8whju3/HsIA/bKyo2+DggaYk5+/8sxb1AbPTw=="
|
||||||
},
|
},
|
||||||
"Microsoft.SourceLink.GitHub": {
|
"Microsoft.SourceLink.GitHub": {
|
||||||
"type": "Direct",
|
"type": "Direct",
|
||||||
|
|||||||
Reference in New Issue
Block a user