Archive.isolate

Archive isolate(string outDir) @safe

Creates an isolated catalog archive in the specified output directory.

This method invokes the low-level isolateArchive() to produce a standalone catalog-only archive derived from this archive. The resulting archive is returned as a new high-level Archive instance.

Parameters

outDirdestination directory where the isolated archive slices are written

Returns

A new Archive instance wrapping the isolated archive.

Throws

DarException if isolation fails (invalid handle, I/O error).