(str: string)
| 113 | }; |
| 114 | |
| 115 | export function parseMount(str: string): Mount { |
| 116 | return str.split(',') |
| 117 | .map(s => s.split('=')) |
| 118 | .reduce((acc, [key, value]) => ({ ...acc, [(normalizedMountKeys[key] || key)]: value }), {}) as Mount; |
| 119 | } |
| 120 | |
| 121 | export type SourceInformation = GithubSourceInformation | DirectTarballSourceInformation | FilePathSourceInformation | OCISourceInformation; |
| 122 |
no outgoing calls
no test coverage detected