chore: remove commented code
This commit is contained in:
parent
f1f5ad4c02
commit
36c4212305
|
@ -6,14 +6,6 @@ import (
|
|||
"github.com/vmihailenco/msgpack/v5"
|
||||
)
|
||||
|
||||
/*
|
||||
func NewSerializer(kind types.MetadataType) *Packer {
|
||||
p := NewPacker()
|
||||
_ = p.PackUint8(types.MetadataMagicByte)
|
||||
_ = p.PackUint8(uint8(types.MetadataTypeDirectory))
|
||||
return p
|
||||
}
|
||||
*/
|
||||
func InitMarshaller(kind types.MetadataType, enc *msgpack.Encoder) error {
|
||||
err := enc.EncodeInt(types.MetadataMagicByte)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue