feat: add directory cid type
This commit is contained in:
parent
21ad88d55e
commit
e19016be9d
|
@ -11,6 +11,7 @@ const (
|
||||||
CIDTypeBridge CIDType = 0x3a
|
CIDTypeBridge CIDType = 0x3a
|
||||||
CIDTypeEncryptedStatic CIDType = 0xae
|
CIDTypeEncryptedStatic CIDType = 0xae
|
||||||
CIDTypeEncryptedDynamic CIDType = 0xad
|
CIDTypeEncryptedDynamic CIDType = 0xad
|
||||||
|
CIDTypeDirectory CIDType = 0x5d
|
||||||
)
|
)
|
||||||
|
|
||||||
var CIDTypeMap = map[CIDType]string{
|
var CIDTypeMap = map[CIDType]string{
|
||||||
|
@ -22,4 +23,5 @@ var CIDTypeMap = map[CIDType]string{
|
||||||
CIDTypeBridge: "Bridge",
|
CIDTypeBridge: "Bridge",
|
||||||
CIDTypeEncryptedStatic: "EncryptedStatic",
|
CIDTypeEncryptedStatic: "EncryptedStatic",
|
||||||
CIDTypeEncryptedDynamic: "EncryptedDynamic",
|
CIDTypeEncryptedDynamic: "EncryptedDynamic",
|
||||||
|
CIDTypeDirectory: "Directory",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue