diff options
Diffstat (limited to 'crates/shirabe/src/repository/installed_repository.rs')
| -rw-r--r-- | crates/shirabe/src/repository/installed_repository.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/shirabe/src/repository/installed_repository.rs b/crates/shirabe/src/repository/installed_repository.rs index 8b611ae..f6b9643 100644 --- a/crates/shirabe/src/repository/installed_repository.rs +++ b/crates/shirabe/src/repository/installed_repository.rs @@ -381,13 +381,11 @@ impl InstalledRepository { } } -impl shirabe_php_shim::Countable for InstalledRepository { - fn count(&self) -> i64 { +impl RepositoryInterface for InstalledRepository { + fn count(&self) -> anyhow::Result<usize> { self.inner.count() } -} -impl RepositoryInterface for InstalledRepository { fn get_repo_name(&self) -> String { let names: Vec<String> = self .inner |
