Moving closer to binary compatability with go version of ipfs
The files are now stored in the same format. Now it is necessary to reverse engineer the directory structure
This commit is contained in:
parent
a654022d32
commit
c8fdb084e4
18 changed files with 261 additions and 200 deletions
|
@ -71,6 +71,6 @@ int ipfs_repo_fsrepo_init(struct FSRepo* config);
|
|||
* @returns true(1) on success
|
||||
*/
|
||||
int ipfs_repo_fsrepo_block_write(struct Block* block, const struct FSRepo* fs_repo);
|
||||
int ipfs_repo_fsrepo_block_read(const struct Cid* cid, struct Block** block, const struct FSRepo* fs_repo);
|
||||
int ipfs_repo_fsrepo_block_read(const unsigned char* hash, size_t hash_length, struct Block** block, const struct FSRepo* fs_repo);
|
||||
|
||||
#endif /* fs_repo_h */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue