(source: PluginSource)
| 1203 | * @returns true if the source is a local path, false if it's an external source |
| 1204 | */ |
| 1205 | export function isLocalPluginSource(source: PluginSource): source is string { |
| 1206 | return typeof source === 'string' && source.startsWith('./') |
| 1207 | } |
| 1208 | |
| 1209 | /** |
| 1210 | * Whether a marketplace source points at a user-controlled local filesystem path. |
no outgoing calls
no test coverage detected