(p: CatalogProject)
| 15 | |
| 16 | /** GitHub URL of a project's source folder in the repo. */ |
| 17 | export function catalogFolderUrl(p: CatalogProject): string { |
| 18 | const path = p.folder |
| 19 | .split("/") |
| 20 | .map((seg) => encodeURIComponent(seg)) |
| 21 | .join("/"); |
| 22 | return `${REPO_URL}/tree/main/projects/${path}`; |
| 23 | } |
no outgoing calls
no test coverage detected