14 #define ERR_OUT(e) std::cerr << e
19 char const * argv[256] = { 0 };
23 argv[argc++] =
"<program>";
24 argv[argc++] =
"--archive";
25 argv[argc++] =
"--timestamp";
26 argv[argc++] =
"2003-09-21";
34 assert(
vaulter.
vault() ==
"./test-vaulter.dir/group-1/vault-1");
56 std::cerr << std::endl;
57 std::cerr <<
" You should see an error message here:" << std::endl;
58 std::cerr <<
"-----------------------------------------" << std::endl;
70 std::cerr <<
"-----------------------------------------" << std::endl;
71 std::cerr << std::endl;
96 int main(
int argc,
char const * argv[])
void init(int argc, char const *argv[])
Initialize the configuration manager from rvm's command line options.
log_manager logger
The global log manager.
void init(void)
Initialize the vault manager.
const std::vector< std::string > & deleted_archives(void) const
Return a list of deleted archives.
void default_file(const std::string &a_path)
Set the default configuration filename.
int main(int argc, char const *argv[])
void select(void)
Select a vault.
const subdirectory get_archive_list(void)
Return a list of archive directories in the selected vault.
const std::string vault(void) const
Return the path to the selected vault.
void clear(void)
Clear the log manager.
void init(void)
Initialize the log manager.
configuration_manager config
The global configuration manager instance.
void delete_oldest_archive(void)
Find the oldest archive in the vault and delete it.
vault_manager vaulter
The global vault manager.