[Dar-libdar_api] archive methods?
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: Johnathan B. <jk...@us...> - 2004-07-17 09:15:11
|
Hi Denis, Now that libdar uses the "archive" class, what is the possibility of having= =20 the various libdar operations implemented as methods of the archive class? Instead of libdar::archive *theArchive; libdar::open( theArchive, ...) libdar::test( theArchive, ...) etc. what about having libdar::archive *theArchive( path, basename, etc.) theArchive->open(); theArchive->test(); Have you considered this? I'm not sure what this would accomplish, besides= =20 quite a bit of possibly unnecessary code rewriting. It just ocurred to me=20 that an archive is the main object for libdar, and the usual way in c++ is= =20 to implement functions as methods. Please enlighten me if I am off base here. I'm not sure that I've thought=20 this through very much. Sorry in advance if this has been documented=20 elsewhere. Cheers, JB =2D-=20 Johnathan K. Burchill, Ph.D. jk...@us... |