(source: PluginSource)
| 1219 | * @returns true if the source is a local path, false if it's an external source |
| 1220 | */ |
| 1221 | export function isLocalPluginSource(source: PluginSource): source is string { |
| 1222 | return typeof source === 'string' && source.startsWith('./') |
| 1223 | } |
| 1224 | |
| 1225 | /** |
| 1226 | * Whether a marketplace source points at a user-controlled local filesystem path. |
no outgoing calls
no test coverage detected