Now using correct hashes on small files
Also added ipfs cat command line functionality
This commit is contained in:
parent
8d2aeab016
commit
15b432c70e
5 changed files with 132 additions and 54 deletions
|
@ -10,3 +10,10 @@ int ipfs_exporter_to_file(const unsigned char* hash, const char* file_name, cons
|
|||
|
||||
int ipfs_exporter_object_get(int argc, char** argv);
|
||||
|
||||
/***
|
||||
* Called from the command line with ipfs cat [hash]. Retrieves the object pointed to by hash, and displays its block data (links and data elements)
|
||||
* @param argc number of arguments
|
||||
* @param argv arguments
|
||||
* @returns true(1) on success
|
||||
*/
|
||||
int ipfs_exporter_object_cat(int argc, char** argv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue