From e19016be9deb6af4806e0bc3f8a78a883142cb7e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 4 Jan 2024 02:24:15 -0500 Subject: [PATCH] feat: add directory cid type --- types/cid.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/cid.go b/types/cid.go index 0afee99..1477222 100644 --- a/types/cid.go +++ b/types/cid.go @@ -11,6 +11,7 @@ const ( CIDTypeBridge CIDType = 0x3a CIDTypeEncryptedStatic CIDType = 0xae CIDTypeEncryptedDynamic CIDType = 0xad + CIDTypeDirectory CIDType = 0x5d ) var CIDTypeMap = map[CIDType]string{ @@ -22,4 +23,5 @@ var CIDTypeMap = map[CIDType]string{ CIDTypeBridge: "Bridge", CIDTypeEncryptedStatic: "EncryptedStatic", CIDTypeEncryptedDynamic: "EncryptedDynamic", + CIDTypeDirectory: "Directory", }