(repository: &Option<RepositoryRef>)
| 48 | } |
| 49 | |
| 50 | fn repository_ref(repository: &Option<RepositoryRef>) -> Result<RepositoryRef, Status> { |
| 51 | repository |
| 52 | .clone() |
| 53 | .ok_or_else(|| domain_status(ErrorCode::InvalidArgument, "repository is required")) |
| 54 | } |
| 55 | |
| 56 | fn joined(error: tokio::task::JoinError) -> Status { |
| 57 | Status::internal(error.to_string()) |
no test coverage detected