@ -26,6 +26,7 @@ impl PaccacheBuilder {
self
}
#[tracing::instrument(level = "trace")]
pub async fn remove(self) -> AppResult<()> {
let mut command = ShellCommand::paccache().elevated();
@ -7,6 +7,7 @@ use crate::internal::{
pub struct PacdiffBuilder {}
impl PacdiffBuilder {
pub async fn list() -> AppResult<StringOutput> {
let result = ShellCommand::pacdiff()
.args(&["-o", "-f"])
@ -20,6 +21,7 @@ impl PacdiffBuilder {
pub async fn pacdiff() -> AppResult<()> {
ShellCommand::pacdiff().elevated().wait_success().await
@ -28,6 +28,7 @@ impl RmBuilder {
pub async fn build(self) -> AppResult<()> {
let mut command = ShellCommand::rm().elevated();