aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/repository/handle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/repository/handle.rs')
-rw-r--r--crates/shirabe/src/repository/handle.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/repository/handle.rs b/crates/shirabe/src/repository/handle.rs
index 497e2b91..2a7239b9 100644
--- a/crates/shirabe/src/repository/handle.rs
+++ b/crates/shirabe/src/repository/handle.rs
@@ -87,7 +87,7 @@ impl RepositoryInterfaceHandle {
self.0.borrow_mut().count()
}
- pub fn get_repo_name(&self) -> String {
+ pub fn get_repo_name(&self) -> anyhow::Result<String> {
self.0.borrow().get_repo_name()
}
@@ -181,7 +181,7 @@ impl RepositoryInterfaceHandle {
self.0
.borrow()
.as_installed_repository_interface()
- .map(|r| r.get_dev_package_names().clone())
+ .map(|r| r.get_dev_package_names())
.unwrap_or_default()
}