Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-cid
Commits
0a6b4cef
Commit
0a6b4cef
authored
Aug 25, 2021
by
tavit ohanian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'port-2021-08-22'
parents
91a10376
7fb8d9c5
Pipeline
#1143
passed with stages
in 36 seconds
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
_rsrch/cidiface/enums.go
_rsrch/cidiface/enums.go
+3
-0
cid.go
cid.go
+2
-0
cid_test.go
cid_test.go
+1
-0
No files found.
_rsrch/cidiface/enums.go
View file @
0a6b4cef
...
...
@@ -9,6 +9,7 @@ const (
DagProtobuf
=
0x70
DagCBOR
=
0x71
P2pKey
=
0x72
Dms3Key
=
0x3E01A5
GitRaw
=
0x78
...
...
@@ -36,6 +37,7 @@ var Codecs = map[string]uint64{
"protobuf"
:
DagProtobuf
,
"cbor"
:
DagCBOR
,
"p2p-key"
:
P2pKey
,
"dms3-key"
:
Dms3Key
,
"git-raw"
:
GitRaw
,
"eth-block"
:
EthBlock
,
"eth-block-list"
:
EthBlockList
,
...
...
@@ -60,6 +62,7 @@ var CodecToStr = map[uint64]string{
DagProtobuf
:
"protobuf"
,
DagCBOR
:
"cbor"
,
P2pKey
:
"p2p-key"
,
Dms3Key
:
"dms3-key"
,
GitRaw
:
"git-raw"
,
EthBlock
:
"eth-block"
,
EthBlockList
:
"eth-block-list"
,
...
...
cid.go
View file @
0a6b4cef
...
...
@@ -55,6 +55,7 @@ const (
DagProtobuf
=
0x70
DagCBOR
=
0x71
P2pKey
=
0x72
Dms3Key
=
0x3E01A5
GitRaw
=
0x78
...
...
@@ -87,6 +88,7 @@ var Codecs = map[string]uint64{
"protobuf"
:
DagProtobuf
,
"cbor"
:
DagCBOR
,
"p2p-key"
:
P2pKey
,
"dms3-key"
:
Dms3Key
,
"git-raw"
:
GitRaw
,
"eth-block"
:
EthBlock
,
"eth-block-list"
:
EthBlockList
,
...
...
cid_test.go
View file @
0a6b4cef
...
...
@@ -23,6 +23,7 @@ var tCodecs = map[uint64]string{
DagProtobuf
:
"protobuf"
,
DagCBOR
:
"cbor"
,
P2pKey
:
"p2p-key"
,
Dms3Key
:
"dms3-key"
,
GitRaw
:
"git-raw"
,
EthBlock
:
"eth-block"
,
EthBlockList
:
"eth-block-list"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment