Skip to content

Commit

Permalink
Use CIDs for content addressing rather than plain hashes (#21)
Browse files Browse the repository at this point in the history
* Add .vscode/settings.json

* Make hash() return CIDs for JSON files

* No longer call checkKey() in createCID()

* Refactor using getBackend() and add tests for it

* Address review
  • Loading branch information
snowteamer authored Aug 9, 2023
1 parent a66719d commit b3d653a
Show file tree
Hide file tree
Showing 32 changed files with 1,611 additions and 261 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/node_modules
*.DS_Store
dist/
test/assets/
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"deno.enable": true
}
Loading

0 comments on commit b3d653a

Please sign in to comment.