(path: string)
| 378 | } |
| 379 | |
| 380 | async removeModel(path: string): Promise<ModelArtifactsInfo> { |
| 381 | path = maybeStripScheme(path); |
| 382 | const keys = getModelKeys(path); |
| 383 | if (this.LS.getItem(keys.info) == null) { |
| 384 | throw new Error(`Cannot find model at path '${path}'`); |
| 385 | } |
| 386 | const info = JSON.parse(this.LS.getItem(keys.info)) as ModelArtifactsInfo; |
| 387 | removeItems(keys); |
| 388 | return info; |
| 389 | } |
| 390 | } |
nothing calls this directly
no test coverage detected