2016-12-14 12:07:43 -05:00
|
|
|
/**
|
|
|
|
* Helpers for testing
|
|
|
|
*/
|
|
|
|
|
2016-12-05 13:11:22 -05: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 12:07:43 -05:00
|
|
|
|
|
|
|
int drop_build_and_open_repo(const char* path, struct FSRepo** fs_repo);
|