Re: [Dar-libdar_api] Empty option for testing archives
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: Denis C. <dar...@fr...> - 2007-05-02 18:31:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This now in CVS Trunk. Regards, Denis. Denis Corbin wrote : > Johnathan Burchill wrote : >> Hi Denis, > > Hello Johnathan, > >> Is it possible to have the "empty" boolean option added to the >> libdar::archive->op_test() api? > > Well, I see no objections. > >> My plan is to use the "dummy run" option to quickly determine the number of >> files considered by an operation's selection and subtree filters, and at the >> same time in a different thread run the actual operation. Once the dummy >> operation is finished, and it returns the number of files considered, I can >> start to update my progress dialog based on the current stats of the running >> operation. The other operations have this empty option, but not the op_test. > >> Presumably op_test() with empty=true would traverse the archive according to >> the masks, and not perform the CRC checks. > > Yep, thus if no CRC is done, no file reading is necessary, this will > make the thing even faster as no decompression/decryption will be necessary. > >> Cheers, >> JB > > > Regards, > Denis. > - ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Dar-libdar_api mailing list Dar...@li... https://lists.sourceforge.net/lists/listinfo/dar-libdar_api -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGONkSpC5CI8gYGlIRAnMgAKCblN06uE9VZwxaEdWbE0lmZ9AGbACfbGbd Qrn96GR+a6KFbygr7+i5UQ4= =/dCN -----END PGP SIGNATURE----- |