diff options
author | fxqnlr <[email protected]> | 2024-09-08 23:59:39 +0200 |
---|---|---|
committer | fxqnlr <[email protected]> | 2024-09-08 23:59:39 +0200 |
commit | 97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7 (patch) | |
tree | 5a7840bb1905bd84ba95cca11b74762fd028f3d0 /src/packages/portage.rs | |
parent | 9a34651063029394845a3e18fe7afd5b7c4db777 (diff) | |
download | arbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.tar arbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.tar.gz arbs-97896023cf5b8ac9a58baaba7d0571b0cc9ff8f7.zip |
add logging
Diffstat (limited to 'src/packages/portage.rs')
-rw-r--r-- | src/packages/portage.rs | 5 |
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 @@ | |||
1 | use tracing::error; | ||
2 | |||
1 | use super::PackageManager; | 3 | use super::PackageManager; |
2 | 4 | ||
3 | pub struct Portage; | 5 | pub 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 | } |