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