2016-12-14 17:07:43 +00:00
|
|
|
/**
|
|
|
|
* Helpers for testing
|
|
|
|
*/
|
|
|
|
|
2016-12-05 18:11:22 +00:00
|
|
|
/**
|
|
|
|
* Create a new repository in the directory, erasing old one
|
|
|
|
* NOTE: base directory must already exist
|
|
|
|
*/
|
|
|
|
int drop_and_build_repository(const char* dir);
|
2016-12-14 17:07:43 +00:00
|
|
|
|
|
|
|
int drop_build_and_open_repo(const char* path, struct FSRepo** fs_repo);
|