From b4e93b639d95da4954052c583e2368baef2992c7 Mon Sep 17 00:00:00 2001 From: bingoohuang Date: Fri, 29 May 2020 11:28:08 +0800 Subject: [PATCH] remove unnecessary comments --- unmaintained/see_dat/see_dat.go | 1 - unmaintained/see_idx/see_idx.go | 1 - 2 files changed, 2 deletions(-) diff --git a/unmaintained/see_dat/see_dat.go b/unmaintained/see_dat/see_dat.go index 5b81e48a1..17c494841 100644 --- a/unmaintained/see_dat/see_dat.go +++ b/unmaintained/see_dat/see_dat.go @@ -32,7 +32,6 @@ func (scanner *VolumeFileScanner4SeeDat) ReadNeedleBody() bool { func (scanner *VolumeFileScanner4SeeDat) VisitNeedle(n *needle.Needle, offset int64, needleHeader, needleBody []byte) error { t := time.Unix(int64(n.AppendAtNs)/int64(time.Second), int64(n.AppendAtNs)%int64(time.Second)) - // I0529 09:56:30 12560 see_dat.go:35] 4,17f03026 offset 8 size 17214(16.81 KiB) cookie 7f03026 appendedAt 2020-05-28 10:39:56.19197 +0800 CST glog.V(0).Infof("%d,%s%x offset %d size %d(%s) cookie %x appendedAt %v", *volumeId, n.Id, n.Cookie, offset, n.Size, util.BytesToHumanReadable(uint64(n.Size)), n.Cookie, t) return nil diff --git a/unmaintained/see_idx/see_idx.go b/unmaintained/see_idx/see_idx.go index 84ea47083..47cbd291b 100644 --- a/unmaintained/see_idx/see_idx.go +++ b/unmaintained/see_idx/see_idx.go @@ -37,7 +37,6 @@ func main() { defer indexFile.Close() idx.WalkIndexFile(indexFile, func(key types.NeedleId, offset types.Offset, size uint32) error { - // key:1 offset:1 size:17214(16.81 KiB) fmt.Printf("key:%v offset:%v size:%v(%v)\n", key, offset, size, util.BytesToHumanReadable(uint64(size))) return nil })