- 2051
&paths, - 2052
&fake, - 2053
); - 2054
assert!(unit_file_path("com.vak.telegram-VakBot", &paths).exists()); - 2055
assert!(unit_file_path("com.vak.discord-Ops", &paths).exists()); - 2056
- 2057
// Uninstall must remove every bot unit even though bots.json still - 2058
// lists them — an uninstall wants "wanted = nothing", not a diff - 2059
// against the still-present config file. - 2060
uninstall_bot_units(&paths, &fake); - 2061
assert!(!unit_file_path("com.vak.telegram-VakBot", &paths).exists()); - 2062
assert!(!unit_file_path("com.vak.discord-Ops", &paths).exists()); - 2063
} - 2064
} - 2065
source · Rust
Services
crates/vak-ops/src/services.rs75.5 KB2,065 lines45 anchorsSnapshot ed4ab258