Browse Source

未计算的显示

master
xyiege 5 months ago
parent
commit
8b9aa43cef
  1. 4
      scagent/core/JsonRpc.go

4
scagent/core/JsonRpc.go

@ -124,8 +124,8 @@ func scanFileUnderPath(rootDir string, scope string, logger *zap.Logger, replay
//
if file.IsDir() {
fsize = "0"
hash = ""
fsize = "-"
hash = "-"
} else {
fsize = fmt.Sprintf("%d", fileinfo.Size())
hash = util.CalacHash(realpath)

Loading…
Cancel
Save