[cmd] 去除哈希与序号表示
This commit is contained in:
parent
f06484ed24
commit
826c4a24ec
|
|
@ -44,12 +44,11 @@ func interactiveSafe(cfg *config.Config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("\n╔══════════════════════════════════════════════╗")
|
fmt.Println("\n╔══════════════════════════════════════════════╗")
|
||||||
fmt.Println("║ 可疑文件清单 (" + fmt.Sprintf("%d", len(dubiousFiles)) + "个) ║")
|
fmt.Println("║ 可疑文件清单 (" + fmt.Sprintf("%d", len(dubiousFiles)) + "个) ║")
|
||||||
fmt.Println("╠══════════════════════════════════════════════╣")
|
fmt.Println("╠══════════════════════════════════════════════╣")
|
||||||
|
|
||||||
for i, file := range dubiousFiles {
|
for _, file := range dubiousFiles {
|
||||||
fmt.Printf("║ %d. %-40s║\n", i+1, file.Path)
|
fmt.Printf("║ %-45s║\n", file.Path)
|
||||||
fmt.Printf("║ Hash: %-36s║\n", file.Hash[:8]+"...")
|
|
||||||
}
|
}
|
||||||
fmt.Println("╚══════════════════════════════════════════════╝")
|
fmt.Println("╚══════════════════════════════════════════════╝")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user