[cmd] 去除哈希与序号表示

This commit is contained in:
wuko233 2026-04-08 14:31:00 +08:00
parent f06484ed24
commit 826c4a24ec

View File

@ -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("╚══════════════════════════════════════════════╝")