Rag.NET.Parsers.Archive
1.0.0
dotnet add package Rag.NET.Parsers.Archive --version 1.0.0
NuGet\Install-Package Rag.NET.Parsers.Archive -Version 1.0.0
<PackageReference Include="Rag.NET.Parsers.Archive" Version="1.0.0" />
<PackageVersion Include="Rag.NET.Parsers.Archive" Version="1.0.0" />
<PackageReference Include="Rag.NET.Parsers.Archive" />
paket add Rag.NET.Parsers.Archive --version 1.0.0
#r "nuget: Rag.NET.Parsers.Archive, 1.0.0"
#:package Rag.NET.Parsers.Archive@1.0.0
#addin nuget:?package=Rag.NET.Parsers.Archive&version=1.0.0
#tool nuget:?package=Rag.NET.Parsers.Archive&version=1.0.0
Rag.NET.Parsers.Archive
ZIP archive parser for the Rag.NET ingestion pipeline: an ingested archive is unpacked in-memory and every entry is dispatched to the parser registered for its type, with nesting-depth and entry-count limits guarding against zip bombs.
Install
dotnet add package Rag.NET.Parsers.Archive
Install alongside the core pipeline package (dotnet add package Rag.NET), which supplies
the AddRagNet(...) builder the parser registers into.
Setup
Inside your AddRagNet(...) builder callback:
using Rag.NET.Parsers.Archive;
rag.AddArchiveParser();
Example
The limits are configurable; exceeding them throws ArchiveLimitExceededException
instead of silently exhausting memory:
using Rag.NET.Parsers.Archive;
rag.AddArchiveParser(options =>
{
options.MaxNestingDepth = 3;
options.MaxNestedContainers = 10;
});
Entries only become chunks when a parser for their content type is registered — an
archive full of .docx files needs Rag.NET.Parsers.Office beside this package.
Full guide
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
- Rag.NET.Abstractions (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.