chore: remove commented code

This commit is contained in:
Derrick Hammer 2024-01-05 07:41:33 -05:00
parent f1f5ad4c02
commit 36c4212305
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 8 deletions

View File

@ -6,14 +6,6 @@ import (
"github.com/vmihailenco/msgpack/v5" "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 { func InitMarshaller(kind types.MetadataType, enc *msgpack.Encoder) error {
err := enc.EncodeInt(types.MetadataMagicByte) err := enc.EncodeInt(types.MetadataMagicByte)
if err != nil { if err != nil {