Blob support #30

Merged
glyph merged 4 commits from get_blob into main 2022-02-26 12:13:15 +00:00
Owner

Adding some functions to make it easier to work with blobs:

  • get_blob_path(blob_id) - returns the relative filesystem path for the blob
  • hash_blob(binary_buffer) - returns the sha256 hash (as hex) and sigil-link (aka. blob id)

I am implementing these functions in src/blobs.rs since they do not require an RPC calls.

Adding some functions to make it easier to work with blobs: - [x] `get_blob_path(blob_id)` - returns the relative filesystem path for the blob - [x] `hash_blob(binary_buffer)` - returns the sha256 hash (as hex) and sigil-link (aka. blob id) I am implementing these functions in `src/blobs.rs` since they do not require an RPC calls.
glyph added 1 commit 2022-02-24 09:06:15 +00:00
glyph added 3 commits 2022-02-25 06:52:41 +00:00
glyph merged commit 7b78274a52 into main 2022-02-26 12:13:15 +00:00
glyph deleted branch get_blob 2022-02-26 12:13:15 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: golgi-ssb/golgi#30
No description provided.