(input: Reference)
| 220 | } |
| 221 | |
| 222 | export function repositoryCachePath(input: Reference) { |
| 223 | return path.join(Global.Path.repos, ...input.host.split(":"), ...input.segments) |
| 224 | } |
| 225 | |
| 226 | export function repositoryCacheIdentity(input: Reference) { |
| 227 | return `${input.host}/${input.path}` |