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() { if file.IsDir() {
fsize = "0" fsize = "-"
hash = "" hash = "-"
} else { } else {
fsize = fmt.Sprintf("%d", fileinfo.Size()) fsize = fmt.Sprintf("%d", fileinfo.Size())
hash = util.CalacHash(realpath) hash = util.CalacHash(realpath)

Loading…
Cancel
Save