|
|
@ -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) |
|
|
|