Parse URL path into owner/repo, returns null if invalid
(parts: string[])
| 56 | matchHost(host: string): boolean |
| 57 | /** Parse URL path into owner/repo, returns null if invalid */ |
| 58 | parsePath(parts: string[]): { owner: string; repo: string } | null |
| 59 | /** Get raw file URL base for resolving relative paths */ |
| 60 | getRawBaseUrl(ref: RepoRef, branch?: string): string |
| 61 | /** Get blob/rendered URL base for markdown files */ |