- {Name: "Size", Value: strconv.FormatInt(inode.Size, 10)},
- {Name: "InodeNum", Value: strconv.FormatUint(inode.InodeNum, 10)},
- {Name: "CtimeSec", Value: strconv.FormatInt(inode.CtimeSec, 10)},
- {Name: "CtimeNsec", Value: strconv.FormatInt(inode.CtimeNsec, 10)},
- {Name: "MtimeSec", Value: strconv.FormatInt(inode.MtimeSec, 10)},
- {Name: "MtimeNsec", Value: strconv.FormatInt(inode.MtimeNsec, 10)},
+ {Name: "Size", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[0*8:1*8])), 10)},
+ {Name: "InodeNum", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[1*8:2*8])), 10)},
+ {Name: "CtimeSec", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[2*8:3*8])), 10)},
+ {Name: "CtimeNsec", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[3*8:4*8])), 10)},
+ {Name: "MtimeSec", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[4*8:5*8])), 10)},
+ {Name: "MtimeNsec", Value: strconv.FormatUint(binary.BigEndian.Uint64(
+ []byte(inode[5*8:6*8])), 10)},