CreateStatsResult containing the created archive and its statistics.Archive.createWithStats
CreateStatsResult createWithStats(string fsRoot, string outDir, string base, string ext, CreateOptions co) @safeCreates a new archive and returns operation statistics.
This is a convenience wrapper over low-level createArchiveWithStats() that returns both the Archive instance and the collected OperationStats.
Parameters
fsRoot | filesystem root to back up |
outDir | directory where slices are written |
base | archive base name |
ext | slice extension (e.g., "dar") |
co | create options constructed via CreateOptions.create() or createOpts().toLow() |
Returns
A
Throws
DarException on any error reported by libdar.