Method
select_repository
(
&self,
repo_id: Option<RepoId>,
)
Source from the content-addressed store, hash-verified
| 293 | } |
| 294 | |
| 295 | pub async fn select_repository( |
| 296 | &self, |
| 297 | repo_id: Option<RepoId>, |
| 298 | ) -> Result<psql::SelectRepositoryResult> { |
| 299 | psql::SelectRepository::new(Arc::clone(&self.viewer), repo_id) |
| 300 | .call(&self.db) |
| 301 | .await |
| 302 | } |
| 303 | |
| 304 | fn update_by(&self, actor: &Arc<Viewer>) -> Result<git::Mutation> { |
| 305 | let git = git::Client { |
Callers
nothing calls this directly
Tested by
no test coverage detected