033dd767b4
Blockstore now storing the data, whereas datastore is storing the key and filename. The key should be the multihash (currently the sha256, not the multihash), and the value is the filename (base32).
11 lines
266 B
C
11 lines
266 B
C
/**
|
|
* Helpers for testing
|
|
*/
|
|
|
|
/**
|
|
* Create a new repository in the directory, erasing old one
|
|
* NOTE: base directory must already exist
|
|
*/
|
|
int drop_and_build_repository(const char* dir);
|
|
|
|
int drop_build_and_open_repo(const char* path, struct FSRepo** fs_repo);
|