Skip to content

Commit

Permalink
refactor: 🔨 Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
AntwortEinesLebens committed Jun 13, 2024
1 parent 958d862 commit 7efe284
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/malware/tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ pub const EXIST_ALL_GOOD: i32 = 0;
pub const EXIST_CLI_ERROR: i32 = 10;
pub const EXIST_TEST_ERROR: i32 = 11;

use std::collections::HashSet;

use regex_generate::{Generator, DEFAULT_MAX_REPEAT};
use windows::Win32::UI::Shell::IsUserAnAdmin;

Expand Down Expand Up @@ -38,12 +36,3 @@ pub fn regex_to_string(name: &String) -> String {
pub fn process_is_admin() -> bool {
return unsafe { IsUserAnAdmin().into() };
}

pub fn pretty_print_hashset(title: String, data: HashSet<String>) {
println!("{} :", title);
println!("----------------");
for name in data {
println!("👉 {}", name);
}
println!("----------------");
}

0 comments on commit 7efe284

Please sign in to comment.