(limit: usize)
| 54 | } |
| 55 | |
| 56 | fn bounded_limit(limit: usize) -> usize { |
| 57 | limit.clamp(1, MAX_LIMIT) |
| 58 | } |
| 59 | |
| 60 | async fn project_context(db: &GlobalDb, selector: &str) -> Option<ProjectRegistryContext> { |
| 61 | if let Some(context) = db.project_registry_context_by_id(selector).await { |
no outgoing calls
no test coverage detected