summaryrefslogtreecommitdiff
path: root/src/packages/portage.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-08 23:59:39 +0200
committerfxqnlr <[email protected]>2024-09-08 23:59:39 +0200
commit97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7 (patch)
tree5a7840bb1905bd84ba95cca11b74762fd028f3d0 /src/packages/portage.rs
parent9a34651063029394845a3e18fe7afd5b7c4db777 (diff)
downloadarbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.tar
arbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.tar.gz
arbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.zip
add logging
Diffstat (limited to 'src/packages/portage.rs')
-rw-r--r--src/packages/portage.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/packages/portage.rs b/src/packages/portage.rs
index 6b9e508..f9a760b 100644
--- a/src/packages/portage.rs
+++ b/src/packages/portage.rs
@@ -1,3 +1,5 @@
1use tracing::error;
2
1use super::PackageManager; 3use super::PackageManager;
2 4
3pub struct Portage; 5pub struct Portage;
@@ -7,7 +9,8 @@ impl PackageManager for Portage {
7 todo!() 9 todo!()
8 } 10 }
9 11
10 fn install(&self, pkgs: Vec<super::Package>) { 12 fn install(&self, pkgs: Vec<super::Package>) -> crate::error::Result<()> {
13 error!("Install {pkgs:?}");
11 todo!() 14 todo!()
12 } 15 }
13} 16}