func (z FileMetaList) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.WriteArrayHeader(uint32(len(z)))
	if err != nil {
		return
	}
	for zcxo := range z {
		if z[zcxo] == nil {
			err = en.WriteNil()
			if err != nil {
				return
			}
		} else {
			err = z[zcxo].EncodeMsg(en)
			if err != nil {
				return
			}
		}
	}
	return
}
EncodeMsg implements msgp.Encodable
package journal
import "github.com/tinylib/msgp/msgp"
func (z *ConsistencyLevel) DecodeMsg(dc *msgp.Reader) (err error) {
	{
		var zxvk int
		zxvk, err = dc.ReadInt()
		(*z) = ConsistencyLevel(zxvk)
	}
	if err != nil {
		return
	}
	return
}
func (z ConsistencyLevel) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.WriteInt(int(z))
	if err != nil {
		return
	}
	return
}
func (z ConsistencyLevel) MarshalMsg(b []byte) (o []byte, err error) {
	o = msgp.Require(b, z.Msgsize())
	o = msgp.AppendInt(o, int(z))
	return
}
func (z *ConsistencyLevel) UnmarshalMsg(bts []byte) (o []byte, err error) {
	{
		var zbzg int
		zbzg, bts, err = msgp.ReadIntBytes(bts)
		(*z) = ConsistencyLevel(zbzg)
	}
	if err != nil {
		return
	}
	o = bts
	return
}
func (z ConsistencyLevel) Msgsize() (s int) {
	s = msgp.IntSize
	return
}
func (z *FileMeta) DecodeMsg(dc *msgp.Reader) (err error) {
	var field []byte
	_ = field
	var zajw uint32
	zajw, err = dc.ReadMapHeader()
	if err != nil {
		return
	}
	for zajw > 0 {
		zajw--
		field, err = dc.ReadMapKeyPtr()
		if err != nil {
			return
		}
		switch msgp.UnsafeString(field) {
		case "ID":
			z.ID, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Name":
			z.Name, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Size":
			z.Size, err = dc.ReadInt64()
			if err != nil {
				return
			}
		case "Timestamp":
			z.Timestamp, err = dc.ReadInt64()
			if err != nil {
				return
			}
		case "UserMeta":
			var zwht uint32
			zwht, err = dc.ReadMapHeader()
			if err != nil {
				return
			}
			if z.UserMeta == nil && zwht > 0 {
				z.UserMeta = make(map[string]string, zwht)
			} else if len(z.UserMeta) > 0 {
				for key := range z.UserMeta {
					delete(z.UserMeta, key)
				}
			}
			for zwht > 0 {
				zwht--
				var zbai string
				var zcmr string
				zbai, err = dc.ReadString()
				if err != nil {
					return
				}
				zcmr, err = dc.ReadString()
				if err != nil {
					return
				}
				z.UserMeta[zbai] = zcmr
			}
		case "IsSymlink":
			z.IsSymlink, err = dc.ReadBool()
			if err != nil {
				return
			}
		case "Consistency":
			{
				var zhct int
				zhct, err = dc.ReadInt()
				z.Consistency = ConsistencyLevel(zhct)
			}
			if err != nil {
				return
			}
		case "IsDeleted":
			z.IsDeleted, err = dc.ReadBool()
			if err != nil {
				return
			}
		case "IsFetched":
			z.IsFetched, err = dc.ReadBool()
			if err != nil {
				return
			}
		default:
			err = dc.Skip()
			if err != nil {
				return
			}
		}
	}
	return
}
func (z *FileMeta) EncodeMsg(en *msgp.Writer) (err error) {
	err = en.Append(0x89, 0xa2, 0x49, 0x44)
	if err != nil {
		return err
	}
	err = en.WriteString(z.ID)
	if err != nil {
		return
	}
	err = en.Append(0xa4, 0x4e, 0x61, 0x6d, 0x65)
	if err != nil {
		return err
	}
	err = en.WriteString(z.Name)
	if err != nil {
		return
	}
	err = en.Append(0xa4, 0x53, 0x69, 0x7a, 0x65)
	if err != nil {
		return err
	}
	err = en.WriteInt64(z.Size)
	if err != nil {
		return
	}
	err = en.Append(0xa9, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70)
	if err != nil {
		return err
	}
	err = en.WriteInt64(z.Timestamp)
	if err != nil {
		return
	}
	err = en.Append(0xa8, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61)
	if err != nil {
		return err
	}
	err = en.WriteMapHeader(uint32(len(z.UserMeta)))
	if err != nil {
		return
	}
	for zbai, zcmr := range z.UserMeta {
		err = en.WriteString(zbai)
		if err != nil {
			return
		}
		err = en.WriteString(zcmr)
		if err != nil {
			return
		}
	}
	err = en.Append(0xa9, 0x49, 0x73, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b)
	if err != nil {
		return err
	}
	err = en.WriteBool(z.IsSymlink)
	if err != nil {
		return
	}
	err = en.Append(0xab, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79)
	if err != nil {
		return err
	}
	err = en.WriteInt(int(z.Consistency))
	if err != nil {
		return
	}
	err = en.Append(0xa9, 0x49, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64)
	if err != nil {
		return err
	}
	err = en.WriteBool(z.IsDeleted)
	if err != nil {
		return
	}
	err = en.Append(0xa9, 0x49, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x64)
	if err != nil {
		return err
	}
	err = en.WriteBool(z.IsFetched)
	if err != nil {
		return
	}
	return
}
func (z *FileMeta) MarshalMsg(b []byte) (o []byte, err error) {
	o = msgp.Require(b, z.Msgsize())
	o = append(o, 0x89, 0xa2, 0x49, 0x44)
	o = msgp.AppendString(o, z.ID)
	o = append(o, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
	o = msgp.AppendString(o, z.Name)
	o = append(o, 0xa4, 0x53, 0x69, 0x7a, 0x65)
	o = msgp.AppendInt64(o, z.Size)
	o = append(o, 0xa9, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70)
	o = msgp.AppendInt64(o, z.Timestamp)
	o = append(o, 0xa8, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61)
	o = msgp.AppendMapHeader(o, uint32(len(z.UserMeta)))
	for zbai, zcmr := range z.UserMeta {
		o = msgp.AppendString(o, zbai)
		o = msgp.AppendString(o, zcmr)
	}
	o = append(o, 0xa9, 0x49, 0x73, 0x53, 0x79, 0x6d, 0x6c, 0x69, 0x6e, 0x6b)
	o = msgp.AppendBool(o, z.IsSymlink)
	o = append(o, 0xab, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79)
	o = msgp.AppendInt(o, int(z.Consistency))
	o = append(o, 0xa9, 0x49, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64)
	o = msgp.AppendBool(o, z.IsDeleted)
	o = append(o, 0xa9, 0x49, 0x73, 0x46, 0x65, 0x74, 0x63, 0x68, 0x65, 0x64)
	o = msgp.AppendBool(o, z.IsFetched)
	return
}
func (z *FileMeta) UnmarshalMsg(bts []byte) (o []byte, err error) {
	var field []byte
	_ = field
	var zcua uint32
	zcua, bts, err = msgp.ReadMapHeaderBytes(bts)
	if err != nil {
		return
	}
	for zcua > 0 {
		zcua--
		field, bts, err = msgp.ReadMapKeyZC(bts)
		if err != nil {
			return
		}
		switch msgp.UnsafeString(field) {
		case "ID":
			z.ID, bts, err = msgp.ReadStringBytes(bts)
			if err != nil {
				return
			}
		case "Name":
			z.Name, bts, err = msgp.ReadStringBytes(bts)
			if err != nil {
				return
			}
		case "Size":
			z.Size, bts, err = msgp.ReadInt64Bytes(bts)
			if err != nil {
				return
			}
		case "Timestamp":
			z.Timestamp, bts, err = msgp.ReadInt64Bytes(bts)
			if err != nil {
				return
			}
		case "UserMeta":
			var zxhx uint32
			zxhx, bts, err = msgp.ReadMapHeaderBytes(bts)
			if err != nil {
				return
			}
			if z.UserMeta == nil && zxhx > 0 {
				z.UserMeta = make(map[string]string, zxhx)
			} else if len(z.UserMeta) > 0 {
				for key := range z.UserMeta {
					delete(z.UserMeta, key)
				}
			}
			for zxhx > 0 {
				var zbai string
				var zcmr string
				zxhx--
				zbai, bts, err = msgp.ReadStringBytes(bts)
				if err != nil {
					return
				}
				zcmr, bts, err = msgp.ReadStringBytes(bts)
				if err != nil {
					return
				}
				z.UserMeta[zbai] = zcmr
			}
		case "IsSymlink":
			z.IsSymlink, bts, err = msgp.ReadBoolBytes(bts)
			if err != nil {
				return
			}
		case "Consistency":
			{
				var zlqf int
				zlqf, bts, err = msgp.ReadIntBytes(bts)
				z.Consistency = ConsistencyLevel(zlqf)
			}
			if err != nil {
				return
			}
		case "IsDeleted":
			z.IsDeleted, bts, err = msgp.ReadBoolBytes(bts)
			if err != nil {
				return
			}
		case "IsFetched":
			z.IsFetched, bts, err = msgp.ReadBoolBytes(bts)
			if err != nil {
				return
			}
		default:
			bts, err = msgp.Skip(bts)
			if err != nil {
				return
			}
		}
	}
	o = bts
	return
}
func (z *FileMeta) Msgsize() (s int) {
	s = 1 + 3 + msgp.StringPrefixSize + len(z.ID) + 5 + msgp.StringPrefixSize + len(z.Name) + 5 + msgp.Int64Size + 10 + msgp.Int64Size + 9 + msgp.MapHeaderSize
	if z.UserMeta != nil {
		for zbai, zcmr := range z.UserMeta {
			_ = zcmr
			s += msgp.StringPrefixSize + len(zbai) + msgp.StringPrefixSize + len(zcmr)
		}
	}
	s += 10 + msgp.BoolSize + 12 + msgp.IntSize + 10 + msgp.BoolSize + 10 + msgp.BoolSize
	return
}
func (z *FileMetaList) DecodeMsg(dc *msgp.Reader) (err error) {
	var zjfb uint32
	zjfb, err = dc.ReadArrayHeader()
	if err != nil {
		return
	}
	if cap((*z)) >= int(zjfb) {
		(*z) = (*z)[:zjfb]
	} else {
		(*z) = make(FileMetaList, zjfb)
	}
	for zpks := range *z {
		if dc.IsNil() {
			err = dc.ReadNil()
			if err != nil {
				return
			}
			(*z)[zpks] = nil
		} else {
			if (*z)[zpks] == nil {
				(*z)[zpks] = new(FileMeta)
			}
			err = (*z)[zpks].DecodeMsg(dc)
			if err != nil {
				return
			}
		}
	}
	return
}