* Returns whether a `vectra.keys` file exists for the index.
()
| 215 | * Returns whether a `vectra.keys` file exists for the index. |
| 216 | */ |
| 217 | public async hasKeys(): Promise<boolean> { |
| 218 | return await fs.stat(path.join(this.folderPath, 'vectra.keys')).then(() => true).catch(() => false); |
| 219 | } |
| 220 | |
| 221 | /** |
| 222 | * Returns true if the index has been created. |
no outgoing calls
no test coverage detected