Archive.extractWithStats

OperationStats extractWithStats(string destDir) @safe

Extracts the archive contents to the specified directory, returning detailed OperationStats about the extraction operation.

Parameters

destDirdestination directory for extraction

Returns

OperationStats with counters for the extraction operation.

Throws

DarException on any error reported by libdar.
OperationStats extractWithStats(string destDir, ExtractOptions eo) @safe

Extracts the archive using custom ExtractOptions, returning detailed OperationStats about the extraction operation.

Parameters

destDirdestination directory for extraction
eoextraction options created via ExtractOptions.create()

Returns

OperationStats with counters for the extraction operation.

Throws

DarException on any error reported by libdar.